- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2022 04:11 AM
when i select group then only particular group members visible in list collector.i have achieve this but group members are visible in right side box(selected). but i want only particular group members display in left side block.
Solved! Go to Solution.
- Labels:
-
Personal Developer Instance

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-28-2022 02:21 AM
Hello poornima,
But the idea of the field is exactly the oposite.
The right box represent the "selected" users and the left the "users to select".
If you want to select a group and have all members selected, then you need to:
- Create a client script onChange of the group field
- In that client script, perform an ajax call to retrieve the members of the group (I think your script is doing this)
- set the field with the members with the value that is being returned from your ajax call.
This way you will set that field to be the set of members of the group. In that way you will see all members on the right side when selecting the group.
I'm not entirely sure about the output of your script: maybe it should only return a comma-separated list of user sys_ids. You need to try it out.
Let me know if this solution had any positive outcome.
Hope this helps!
Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!
Best Regards,
Filipe Cruz

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2022 04:14 AM
Hello poornima srivastava,
If you want only particular members selected in the left, you need to add a specific condition to your script include in order to filter the members that are displayed.
In line 7, add:
memObj.addQuery("user", <filtering condition here to filter users>);
How do you want to filter the users that appear in the left side? By name? Role? Another criteria?
Please, don't forget to mark my answer as correct if it solves your issue or mark it as helpful if it is relevant for you!
Best Regards,
Filipe Cruz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2022 04:26 AM
but i want when i select role then only particular group members display in left side box, not all users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2022 04:42 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā04-27-2022 10:40 AM