How to HIDE save(ctrl + s) button from ITIL users on the service portal form ?

SK36
Tera Contributor

I want to hide the save button from itil user and it is only visible to admin role. How to do that in service portal form?

2 REPLIES 2

Aman Kumar S
Kilo Patron

In a base instance, you currently cannot hide the Save button without modifying the form widget, which would require you to clone the widget and then script a condition to check against the State value of the record. One option is to clone the form widget and remove the button entirely, and instead use a UI Action for the Incident table on the form to do a conditional check against the State value. The blue Save button will be gone from the cloned form on the right side, and a new gray Save UI action will appear on the bottom-left for records not equal to 7 (the base instance value for "closed").

 

Supporting article from HI:

https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0647791

Best Regards
Aman Kumar

Hey,
Can you confirm, if your issue was resolved?
If yes, please mark correct and close the thread, will be helpful to others 🙂
Best Regards
Aman Kumar