How to hide UI Action on vendor assessment portal?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2024 01:29 AM
Hi All,
I have been digging through servicenow doc on hiding ui action on svdp portal, but no use... I have to restrict delete contact ui action only for admins....I have added the role in 'requires roles' section and added the condition as well...gs.hasRole("admin") in the ui action but still the button is visible for users with vendor_contact role....could anyone suggest me how can I fix this ?
Any kind of help is greatly appreciated.
Thank you,
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-04-2024 07:52 AM
Hi @Hema Padala ,
Yes you're right here...I first cloned the widget and then modified the script.
Thanks!