In SSJS I'm looping through document in a view and I want to add a new option to a hidden combo for each document and once finished then show that hidden combo.
I've tried building an array with value|string and adding that to the getComponent("apm").setValue(myArray)
, but no luck and how do I grab the combo and make it visible because dojo.byId("#{id:apm}").setRendered(true);
gives error about dojo not found, so do I need to include something?
Any ideas?