How to hide UI Action on vendor assessment portal?

Utkarsha
Tera Contributor

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

Hi @Hema Padala ,

Yes you're right here...I first cloned the widget and then modified the script.

Thanks!