Hide/Disable Delete choice from action choice list

sp_18
Giga Contributor

Hi ,

as suggested by many users here that unchecking the list choice option will hide the delete option from action choice list

but its not hiding.

find_real_file.png

find_real_file.png

when i am giving role condition its hiding the button but not the list choice from action choice list.

Can anyone tell me a simple way how to hide/disable delete list option for everyone except the admin??

**NOTE** - This Delete UI action is created by me not global.

Thank you.

1 ACCEPTED SOLUTION

I think, you should look for Delete UI Action @ global table, you might need to override the list button: https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/list-administration/t...


View solution in original post

9 REPLIES 9

I think, you should look for Delete UI Action @ global table, you might need to override the list button: https://docs.servicenow.com/bundle/jakarta-servicenow-platform/page/administer/list-administration/t...


Overrided Global Delete UI action


find_real_file.png


This is my table.


find_real_file.png


find_real_file.png


List view


find_real_file.png



NOTE: What happening is if i uncheck the list choice in global Deelete UI action then the delete list choice is getting


hidden from table's action choice list but i don't want to hide globally for every table.


I want it to get hide/disable for all users except admin on my table.


Can you tell me what you done here?

The same thing i was working on, but couldn't replicate it

yes thank you


actually i had overriden the global delete form action but not the global delete list action thats why for form it was working


but not for the list.



I overrided both then its working fine with my desire condition.


Stefan Baldhof1
Kilo Guru

Hi sheetalp,



creating a "Delete" ACL for your table with "admin" role should help.



Regards,


Stefan