Disable delete button on CMDB Workspace

shantul13
Tera Contributor

Does anyone has any idea on how to disable/remove the "delete" functionality from CMDB workspace?

For Navigation

 

CMDB Workspace --> Quick Links --> CI Class List --> You can choose any Class --> Open the CI --> Next to Save Option there are three dots --> You will find the "Delete" option 

There is a UI Action Script but its Global.

 

https://xxxx.service-now.com/nav_to.do?uri=sys_ui_action.do?sys_id=cccac8a60b3303008e64aabcb4673ade

Or does anyone has any suggestions what modifications/customizations can be done to disable/remove the delete the functionality?

Note: - I just want to disable the "delete" functionality in CMDB Workspace.

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @shantul13 ,

 

You can create new UI action on table for which you wanna hide this, for example if you wanna hide it for cmdb_ci then make copy of this OOB UI Action and give the same "Action Name as sysverb_ws_delete". It will hide the global one and show the child one. Now you can un tick workspace checkbox.

RunjayPatel_0-1734451091042.png

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

 

 

View solution in original post

9 REPLIES 9

shantul13
Tera Contributor

Hello @Runjay Patel ,

 

I have already tried that option and it seems to be not working.

 

Any other suggestions would appreciate your response on the same.

 

Regards,
Shantul Rastogi

Share the screenshot of your configuration.

shantul13
Tera Contributor

Hello @Runjay Patel,

 

Please find the attached screenshots for the sameUI_Action.pngUI_Action_1.pngUI_Action_2.png

Hi @shantul13 

 

Check the delete acl, it is controlled through it. as in condition mentioned it canDelete().

try providing itil/asset/sn_cmdb_editor role to user.

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

Hello @Runjay Patel,

 

I tried giving  itil/asset/sn_cmdb_editor role to user but then also it's not working.

 

Regards,

Shantul Rastogi