Populate List Collector From Another List Collector

arobertson
Tera Guru

Hi,

 

I have a form with two list collectors. One is for adding group owners and the second is for adding group members.

 

I would like the group members list collector to populate with what ever is in the group owners list collector. Is this possible?

11 REPLIES 11

replace line 7:-



var varName = 'group_members';  




in line 13, set selectedIDs with getValue of admin_group_owners and just make sure that the values are coming up ok.


Values do not seem to be getting copied from one list collector to the other and now it will not let me enter more than one item into the admin_group_owners list collector.



I would have thought that line 7 & line 13 would have been "admin_group_owners" as its getting the values, then have some additional code to populate the new list collector?


Capture.PNG


Hi Alex,


Were you able to get this issue resolved, even we have this requirement and we are stick big time !!. Kinldy let us know


hi,


Thanks for your response .


But my issue already got resolved.




thanks,


Regards,


Srinath



On Tue, Apr 4, 2017 at 5:06 PM, dhruva <community-no-reply@servicenow.com>


daveyb
Kilo Explorer

I also need to do this as well, but don't understand how the article mentioned above can copy a list collector from another list collector.



  • The code mentions copying the selected items   (I need to copy everything)
  • The code mentions left bucket and right bucket instead of two separate LCs