How to Hide Insert and Insert and Stay in the Incident form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
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]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
You can create a UI action override (a UI action with the same 'action name', but different condition) .
Refer : UI Action Overrides
