Hide Delete Ui Action Button On Incident Form
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:09 AM
Hi
I Need to Hide Delete Ui Action Button On Incident Form Based on Service Field &Assignment Group
Normally We Can Able to See Delete button after save the incident.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 07:27 AM
Hi Ramesh,
You need to configure Delete UI action button's condition. If you need to hide Delete UI action button on basis of some specific values of some specific fields I would suggest you to create a server side script include and return true to show the UI action button and False to hide it.
Refer to this article for more info.
Let me know if you need more help. If you find my answer helpful then please mark it Helpful or Correct!
Thanks,
Utpal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 03:46 AM
Hi Utpal Dutta,
Thanks for your fast Reply
If possible can you please share Server side script include code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2023 08:19 AM
Hi @Ramesh Mende1
The Delete action present on the form is a Global action. I would suggest you to go ahead with creating a table level ACL on incident table and restrict it to those roles for whom you want to restrict. Then in the script condition control the deletion by using if and else. Please refer these example images as shown
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2023 03:52 AM
Hi Ashutosh,
Thanks for your reply ,
Iam not giving any specific roles for hide delete Ui action button , just giving Service&Assignment group fields ,Ex: business_service=='Global Network' && Assignment_group=='Analytics Settings Managers' , then Delete button should be hide on incident form