Hide Group name from Resource tab from Project Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hello Community, Want to hide group name from the Resource list which is shown in this image. User and group with pps_resouce role are allowed to show in this list in Project workspace but my requirement is to show only individual resource rather than groups.
Thank you
Regards
Pranjal Srivastava
shown in this image
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi Pranjal,
So if i understand your requirement right, you want to Hide groups, even if the user has pps_resource role, right?
If this is the right understanding, below are 2 options, based on your risk appetite and known reason and rationales, you can pick any.
Project Workspace uses UI Builder + Workspace data providers, hence ACLs and UI Policies DO NOT fully control this list, the most effective solutino is data-level filtering.
Solution OPTION 1 (My personal recommendation): Filter at Resource Data Level
Project Workspace pulls resources from Resource Management tables, Groups appear because, Group records are treated as generic resources, Filter out records where resource is a group.
How to do it
Create a Before Query Business Rule on Resource table used by workspace
(Usually resource_allocation or related view table)
current.resource IS NOT INSTANCE OF sys_user_group
OR to be more safe
resource.sys_class_name != 'sys_user_group'
OPTION 2: Workspace Data Provider Filter (Advanced / Clean) -
best if you want zero backend impact and you have required UI Builder access
If you want a workspace-only solution (no global impact)
Where UI Builder, Project Workspace, Locate Resource List component, Find Data Provider / Query add filter Resource.sys_class_name != sys_user_group
OPTION 3: Hide via Client Script (NOT Recommended),
although client script is an option, but too risky and because I don’t recommend, hence wont even provide any procedure, you can check that online or through chatgpt if needed, even others you can google search or check for step by step procedure for recommended options on chatgpt or gemini.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hi @pranjalsrvs,
you could most likely specify the values returned for that field using this reference qualifier under its corresponding system dictionary:
https://yourinstance.service-now.com/nav_to.do?uri=sys_dictionary.do?sys_id=935bc3ddc3ae7210dd62bb0d050131e9
I don't know what do you mean individual resources in "my requirement is to show only individual resource rather than groups." but in this ref qual you should be able to achieve it..
No AI was used in the writing of this post. Pure #GlideFather only
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I believe you need to look into UI builder and see what's rendering and then possibly it might require some UI builder changes
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
