How to Hide UI Action Button on the basis of View?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2017 03:59 AM
How can we show/hide any button i.e UI Action depending on the form View?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2017 04:24 AM
Hello Tiwari,
Please Refer :
https://www.servicenowguru.com/scripting/client-scripts-scripting/removing-form-buttons/
Form buttons and context menus are usually a desirable piece of functionality to include on your form. I have seen scenarios before however, where I needed to limit the options available to a user so that they could really only perform one action. The first options that I would consider in these situations is to simply modify the 'Condition' field (for role-specific or other criteria) or the 'UI Action Visibility' related list (for view-specific criteria) on the particular UI action that I wanted to remove from the user's view. This is obviously the best and simplest method since it falls in line with the design of the product and doesn't really require any unusual override of other system behavior.
https://www.servicenowguru.com/wp-content/uploads/2010/04/RemoveButtons-RolesView.jpg
How to hide/show an UI action on field changes
Thanks,
Rajashekhar Mushke
Rising star : 2022 - 2024
Community Leader -2018
Connect me on LinkedIn : Rajashekhar Mushke
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2022 02:45 PM
FINALLY someone shows a simple OOB solution for UI Action Visibility. I've googled for so long only to find everyone writing scripts to show/hide on specific views. Thank you for this!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2017 04:26 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-09-2017 04:41 AM