- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 07:58 AM - edited ‎11-06-2024 08:06 AM
Hi all,
I have seen a bunch of posts regarding this. However have not found any solution suitable to my needs.
Here is the situation:
1. I have a List Collector item in my Catalog item (accessed through the Service Portal). This item is a list of groups the user belongs to.
2. I need to get the name of the items to remove the groups that contain a certain phrase. For example: remove the user's association with the groups that contains the words "technician" in the group name.
3. So I need to get the names of the groups the user belongs to; not the id.
So i have tried the following to get the display name of this field - neither worked:
Any assistance would be highly appreciated.
Thanks,
M
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 12:39 PM
Since you've already made the trip to the server to get the group sys_ids, you could also get the group names at the same time to use for the name test and populating both list collectors with sys_ids.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 12:39 PM
Since you've already made the trip to the server to get the group sys_ids, you could also get the group names at the same time to use for the name test and populating both list collectors with sys_ids.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-06-2024 12:42 PM
Hi Brad,
Thanks. I am actually doing that exactly. I am going back to the Script Include to see if I can get the name too. Seem to be the most practical solution at this point.
Thanks.
M