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-17-2023 03:59 AM
Double check the conditions from the UI Action Delete. If your instance stick with OOTB, you can find the button via the below URL.
URL: https://<instance_name>/sys_ui_action.do?sys_id=57dc4c970a0a0b3400f8f0538d3faf94
The visibility of the OOTB UI Action is managed through canDelete() function. So we should review the current Delete ACLs to adjust accordingly with your own criteria.
canDelete()
Determines if the access control rules (which includes the user's role) permit deletion of records in this table.
Returns
Type Description
Boolean Flag that indicates whether the user's roles permit deleting of records in this table.
Valid values:
- true: Deleting permitted
- false: Deleting is not permitted
Let me know if it works for you.
Cheers,
Tai Vu