- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:52 AM
HI,
I have created a custom table , I do not want the UPDATE & DELETE buttons on the form.
How to disable the button ??
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:59 AM
Hello,
Just go to the Ui action and add the below condition in the condition field:-
current.getTableName() != 'tablename'
Please mark answer correct/helpful based on Impact
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:59 AM
Hello,
Just go to the Ui action and add the below condition in the condition field:-
current.getTableName() != 'tablename'
Please mark answer correct/helpful based on Impact

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 12:59 AM
Hi.
These UI Actions are created on Global table and you need to add condition on Global UI Actions.
You need to update OOB UI Actions with below condition.
&& current.sys_class_name !='your table name'
Thanks,
Anil Lande
Thanks
Anil Lande

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 01:05 AM
Please check below UI Actions and update condition field on these records:
Update like below:
Thanks,
Anil Lande
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 01:03 AM
Hi manasa
Instead of modifying global ui action, you can also follow below approach.
1) Go to UI Action's
2) Open Update button which is on Global Table
3) Change table to your table on which you have to hide this button and then click insert and stay.
4) Then deactivate this new button. So you won't be able to see Update button any more.
You can also configure your ACL's and give roles for whom the records can be edited/deleted.
Mark it helpful if this helps you to understand. Accept solution if this give you the answer you're looking for
Kind Regards,
Rohila V
2022-25 ServiceNow Community MVP