How to hide "Delete" Ui Action in classic view but not in UIB. Can some one please help me with this

Amarnadh
Tera Contributor

I have Delete button on sys_template table. How to hide this "Delete" Ui Action in classic view but not in UIB. Can some one please help me with this.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Amarnadh 

I don't think you can control this directly.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

9 REPLIES 9

RaghavSh
Mega Patron

Check the UI Visibility related list on your UI action.

 

Create an exclude UI Visibility for default view, it will hide it on classic form.

 

Refer: https://www.servicenow.com/community/developer-blog/managing-access-to-ui-actions-with-conditions-ro... 


Raghav
MVP 2023
LinkedIn

Amarnadh
Tera Contributor

Thanks for your reply @RaghavSh . But in my case I wanted to the button in uib and show it in classic view

Amarnadh
Tera Contributor

Thanks for your reply @RaghavSh . But in my case I wanted to hide the button in uib and show it in classic view

In that case you can directly uncheck workspace form button

 

OR

 

Exclude for workspace view in visibility settings.


Raghav
MVP 2023
LinkedIn