How to disable or hide the 'DELETE' button in form at various stages?

DINESH CHINNAD1
Giga Expert

Hi Team,

I need to disable or hide the DELETE button that is visible on form....

Since it was the OOB functionality... I feel if i hide that for single form, will that affect globally in all the forms?

For Example, SAVE, SUBMIT, UPDATE, DELETE are the OOB functionality....

Now how can i accomplish my requirements???

Any ideas or thoughts are welcome!!!

1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

Open the delete button (global one) and write the name of your table (eg incident) in the table name column and do an "insert and Stay".


This will create a new DELETE button just for your table and the global one will now not show on your table. This is called over riding the ui action.


Now any change you do here will be limited to your table only


Use the "condition" on the ui action to decide when to show/hide.


-Anurag

View solution in original post

17 REPLIES 17

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Pradeep Sharma,



I know both you and anurag answered correctly. But i feel anurag answer is very simple. So only i mentioned that one as correct and yours as helpful answer....


DINESH CHINNADURAI



Thanks for the update. No problem at all


Glad your problem is solved.


it doesn't work 2023/07. did any changes happen on client-script functionality?