- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi,
how to exclude related list action in CSM workspace from specific role, for example 'itil' role:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
admin inherits all role so it will hide as that condition will be false for admin user
try this
!gs.hasRole('elcam_user') || gs.hasRole('admin')
💡 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
what's your actual business requirement?
you want to hide/show NEW in related list for which table and on which form? share screenshots
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
@Ankur Bawiskar hi its not for native its for workspace:
I want to hide 'new' button based on role, it a ux related list action
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
so this is for contacts related list
itil is not allowed to create that's fine but who should be allowed to create?
You can simply ensure whoever you want to see NEW button passes the Table.None CREATE ACL on Contact table
With this no need to update any related list action etc.
💡 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Why would ITIL user go to CSM Workspace? They primarily work on SOW workspace.
I just impersonated with ITIL User and went to CSM workspace.
that user is not able to see Case List itself in LEFT NAV
Then why this requirement?
even if I went to customer_contact.list from left nav with ITIL User, the list itself is not seen due to ACL Issue
💡 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
@Ankur Bawiskar i just gave example as 'itil'. ignore the name of the role, how can I hide ux related list action (sys_declarative_action_assignment) based on Role
