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

Can you try changing your app to your scoped app, then insert and stay on the ui action and see if the table is visible now in the "table" field? let me know if that works

cheung
Tera Contributor

thanks, it still doesn't work. SNOW products confuse me a lot,  did I take wrong actions?  : right-click Delete button  --> edit UI Action --> 1.PNG 

cheung
Tera Contributor

problem solved: create a [Delete] UI Action in the application by copying every field contents from the Global UI Action manually. then change the condition on my needs.     thanks for sumol's idea

Hello cheung,
I have created a DELETE UI action for my scoped app. but on the form I find two delete buttons! how to hide the global OOB one ?

 

Hi,

You can override the ui action, and then add a condition the one you created that always returns false

 

Override a UI action for an extended table (servicenow.com)

-Anurag