How to Hide Insert and Insert and Stay in the Incident form

KamaliS
Tera Contributor

Basically I want to hide these two UI actions from Incident module, but as we know these UI actions are Global one.

So I found two options,

1) exclude the table from the Global UI action, which is working.

2) When I created a copy this and updated the table to Incident to override them, it does hide the Insert and stay and insert. But it also hides the Save and Submit button from the new incident form. which we don't want.

 

Any recommendations on how we can achieve this?

I want to ahead with option2) because I want to add some condtions based on role too, which I dont want to modify the Global one, but it does have affect the save and Submit button on incident create form

2 REPLIES 2

Dr Atul G- LNG
Tera Patron

Hi @KamaliS 

It has been driven by a system property: Show “Save”, “Insert”, and “Insert and Stay” buttons on forms.

This is applied at a global level, so if you make changes in the UI action, it might have impacts elsewhere as well.

 

glide.ui.task.insert-

glide.ui.advanced

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Kilo Patron

 You can create a UI action override (a UI action with the same 'action name', but different condition) .

 

Refer : UI Action Overrides 

 

https://www.servicenow.com/community/servicenow-ai-platform-forum/how-do-i-hide-the-insert-and-inser...

 

https://www.servicenow.com/docs/r/zurich/platform-administration/t_OverrideOrRmvAUIActionForExtTbl.h...

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: