how to hide section in from workspace view

rinathombar
Tera Contributor

hello

 

I want hide policy setup section in policy form

 

if anyone know pls suggest 

6 REPLIES 6

@rinathombar 

so what was the question?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Tanushree Maiti
Kilo Patron

You can configure a UI policy with Run script.

 

Execute if true:

 

function onCondition() {
g_form.setSectionDisplay('<your section_name>', true);  //Display section
}
 

Execute if false:

 

function onCondition() {
g_form.setSectionDisplay('<your section_name>, false); //Hide section
}
 

 

Please mark this response as Helpful & Accept it as solution if it assisted you with your question.
Regards
Tanushree Maiti
ServiceNow Technical Architect
Linkedin: