on ‎2019 Mar 12 1:04 AM
Hi,
I have an impex which runs everyday. So, I want to append the component to existing content slot. Since my impex runs everyday, it's adding the same component everyday. Can i have an impex that just updates the component only once.
Request clarification before answering.
In your impex header, use [append=true] for component. Now it will append components instead of updating with single value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the reply Krinhn. Sorry if i have not explained it properly. Below is the example. If i execute below 5 times, component1 will be appended 5 times. But i want this component to be appended only once even i execute multiple times. I think it requires flexibleSearch in impex to do that.
INSERT_UPDATE ContentSlot ;$contentCV[unique=true] ;uid[unique=true] ;cmsComponents(uid,$contentCV)[append=true]
; ;testSlot1 ;component1
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.