Hide and show UI action based on view

nehasingh98
Tera Contributor

How can we hide and show ui action? i want to hide it for abc view and display for others view.

1 ACCEPTED SOLUTION

Runjay Patel
Giga Sage

Hi @nehasingh98 ,

 

Yes you can achieve it using configuration.

Go to your ui action and scroll down to related list called "Ui Action Visibility".

Click on edit button and select your view and disallow.

RunjayPatel_0-1735300313447.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

5 REPLIES 5

Runjay Patel
Giga Sage

Hi @nehasingh98 ,

 

Yes you can achieve it using configuration.

Go to your ui action and scroll down to related list called "Ui Action Visibility".

Click on edit button and select your view and disallow.

RunjayPatel_0-1735300313447.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

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

 

anshul_goyal
Kilo Sage

Hello @nehasingh98,

Here are the relevant community links for your reference:

https://www.servicenow.com/community/developer-forum/how-to-hide-ui-action-button-on-the-basis-of-vi...
https://www.servicenow.com/community/developer-forum/hide-ui-buttons-on-specific-view/m-p/1607399

Please mark my solution as Helpful and Accepted, if it works for you in any way!

Thanks

Ankur Bawiskar
Tera Patron
Tera Patron

@nehasingh98 

you can have UI action view visibility defined for different views

AnkurBawiskar_0-1735300359582.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

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @nehasingh98 

 

You can add the view in related list

AGLearnNGrow_0-1735301335108.png

 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************