- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2024 03:44 AM
How can we hide and show ui action? i want to hide it for abc view and display for others view.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2024 03:52 AM
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.
-------------------------------------------------------------------------
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
-------------------------------------------------------------------------

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-27-2024 05:25 AM
This is already solved, but another option is to use getViewName() in the condition of the UI Action. The link below is to the developer documentation on it. Maybe it will help others searching this topic.