To add a members in a group table via record producer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-13-2015 05:44 AM
Requirement is to add a members in a group table via record producer
I have made three variables one as a reference variable to sys_user_group table
second, drop down with value add and remove
third, list collector on table sys_user
On the basis of group selection, and add value in drop down variable,
in the slush bucket, Users who are member of selected group should be pre-selected in right side of slush bucket and on left side all remaining active users..
On the basis of group selection, and remove value in drop down variable, only members of selected variables should be visible on left side of bucket.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2015 02:31 AM
Hi Subhankar,
I am not sure, whether this will work in case of Slush Bucket?
Have you tried for slushbucket?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-14-2015 02:43 AM
Hello Aanchal,
Script include will work if you can configure it properly as slush bucket uses a table for reference.
You may call the script include from your catalog script too.
You may try to store all the users in an array (suppose its usr_lst) and then return the list as :
var usr_lst=[];
...
...
var arrayUtil = new ArrayUtil();
usr_lst = arrayUtil.unique(usr_lst);
return 'sys_idIN' + usr_lst;
Warm Regards,
Subhankar