Hide the Ui Action with cleint script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 09:34 AM
HI There,
i got one question in interview. can any one help me on this.
How to hide the ui action with client script.
is it possible to hide? if yes can any one provide me the script for this.
Regards
Rajesh Gillerla.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 10:28 AM
Hi @Gillerla Rajesh ,
Here you go : https://www.servicenow.com/community/csm-forum/how-to-hide-ui-action-using-client-script/td-p/257348...
Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2024 10:37 AM
Hi @Gillerla Rajesh ,
The g_form.hideAction() method is indeed the recommended way to hide a UI Action in ServiceNow using a Client Script.
Accept and hit Helpful if it helps.
Regards,
Manoj