Hide the Ui Action with cleint script

Not applicable

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.

2 REPLIES 2

Hemanth M1
Tera Sage

Hi @Community Alums ,

 

Here you go : https://www.servicenow.com/community/csm-forum/how-to-hide-ui-action-using-client-script/td-p/257348... 

 

 

Accept and hit Helpful if it helps.

Thank you,
Hemanth
Certified Technical Architect (CTA), ServiceNow MVP 2024, 2025

Manoj R Zete
Tera Expert

Hi @Community Alums ,

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