- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 01:40 PM
Hi, i am looking for solution on Portal view but i am looking to show members of the group using reference field. its showing Created and then User, i want User to be only shown to select
can any one help on this ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 10:21 AM - edited 09-25-2023 10:24 AM
i actually used sys user table and with advanced reference qualifier.
javascript:'active=true^sys_idIN'+getIDs("group sys id"); function getIDs(grp){var m=GlideUserGroup.getMembers(grp);var ids=''; while (m.next()){ids+= (m.user+',');} return ids;}
Its working!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-22-2023 02:07 PM
'Created' is an unusual field to be displayed without specifying it. If you view a group record in the native UI is created_by/on the Display field - does it appear below 'Group' in the gray header bar? If so, change the Display field on the table to User and you're all set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 09:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 10:06 AM
Hi @Ram050670
Can you try using "lookup select box" on "Group Member"
Lookup field - User
ServiceNow Developer
I know one thing, and that is that I know nothing.
- Socrates
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2023 10:21 AM - edited 09-25-2023 10:24 AM
i actually used sys user table and with advanced reference qualifier.
javascript:'active=true^sys_idIN'+getIDs("group sys id"); function getIDs(grp){var m=GlideUserGroup.getMembers(grp);var ids=''; while (m.next()){ids+= (m.user+',');} return ids;}
Its working!!