Hide Delete Ui Action Button On Incident Form

Ramesh Mende1
Tera Contributor

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.

5 REPLIES 5

Tai Vu
Kilo Patron
Kilo Patron

Hi @Ramesh Mende1 

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