I want to programmatically add prevalues to a "dropdown list, multiple" (there will be around 80 prevalues). I also have uSync installed. I need some help to know how can I implement feature to add prevalues to the dropdown while I create a new datatype and also have these things written in uSync so when I move to production, I can have those available there?
Also, I was wondering as this will be a one time effort, how can I make sure ''adding prevalue" thing will not execute every time something is being saved.
I have seen some code (without uSync) to add prevalues, but I am not sure where to insert that.
Adding prevalues to a datatype and write using uSync
I want to programmatically add prevalues to a "dropdown list, multiple" (there will be around 80 prevalues). I also have uSync installed. I need some help to know how can I implement feature to add prevalues to the dropdown while I create a new datatype and also have these things written in uSync so when I move to production, I can have those available there?
Also, I was wondering as this will be a one time effort, how can I make sure ''adding prevalue" thing will not execute every time something is being saved.
I have seen some code (without uSync) to add prevalues, but I am not sure where to insert that.
is working on a reply...