- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 04:34 AM
Hi Team,
How to did template icon in HR workspace based on role. Like HR admin must only see it.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 05:35 AM
Hi @preethigovi ,
To hide templates for all users
1. Navigate to sys_ux_page_property.LIST
2. Search "contextualSidebarVisibility"
3. Remove table name from templates array to update the value
To hide templates for specific users based on role you need to create page variant in UI builder
1. Open UI builder -> HR agent workspace
2. Duplicate Case SRP variant and update the variant order to 10
3. Open the variant in editor and go to Tab sidebar -> Tab Templates
4. Click on the settings and update the hide tab field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 05:00 AM
you can show/remove it completely but not as per role
check this link and see if it helps
Hide a component on workspace based on role
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 05:35 AM
Hi @preethigovi ,
To hide templates for all users
1. Navigate to sys_ux_page_property.LIST
2. Search "contextualSidebarVisibility"
3. Remove table name from templates array to update the value
To hide templates for specific users based on role you need to create page variant in UI builder
1. Open UI builder -> HR agent workspace
2. Duplicate Case SRP variant and update the variant order to 10
3. Open the variant in editor and go to Tab sidebar -> Tab Templates
4. Click on the settings and update the hide tab field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 06:03 AM
Since we create a duplicate variant, how will we add that again on the page (record)?
It would be nice if you share the further details.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 06:25 AM - edited 08-05-2025 08:18 AM
@Ankur Bawiskar I guess we must keep lowest order to that duplicated variant to be added as default page record.