how to hide a button from specific view

Mehar Naaz
Tera Contributor

MeharNaaz_0-1697693795974.png

I want to hide 'View Locations' button  from a specific viewbut it should be visible in Default view. Can anyone help me to achieve this?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Mehar Naaz 

you can hide it based on UI Action Visibility related list

You can specify the views in which it should be visible by creating a record into that related list table

Create a UI action 

 

AnkurBawiskar_0-1697694260824.png

 

 

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

6 REPLIES 6

Hello @Ankur Bawiskar 

I was deploying same thing in my PDI, while deploying only I was replying
So at that time I haven't saw your reply.

Do you have an opinion as to why this record needs to be in the same scope as the UI Action?
Let's say I extend Interaction table in a custom application scope and I want to hide certain UI Actions inherited from Interaction. 

This means I would have to create this record in Global and not my own scope where it belongs.