How to hide UI action from portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 02:49 AM
Hi Team,
I want to hide UI action "Edit Article" from portal only for all the users. This button should be visible on native view only and not the portal. Is there any way to achieve this with the help of UI action script? We don't want to clone the widget and pages.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 10:40 AM
Hello @Karishma Dubey ,
Pls refer this: https://www.servicenow.com/community/developer-forum/hide-ui-actions-on-portal-forms-how-to-hide-but....
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 11:14 PM
How to check that i am into which view on portal in ui action script?
There is a function in client script var view = g_form.getViewName(); but is it possible to check view name in ui action script?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-12-2023 11:23 PM