Hide section on form in SOW workspace

Supriya13
Giga Expert

I have created  2 section > Hold Information and Resolution Information. In both  section fields are mandatory based on their state as on-hold , resolved.

I am trying to hide both section Hold Information and Resolution Information in other state of incident in incident mamngement for service operation workspace.

 

I tried - global UI policy - workspace / workspace UI - not working , Isolated script - g2tab in in client script - not working for me

 

1 ACCEPTED SOLUTION

@Supriya 

Glad to know.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards
Ankur

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

View solution in original post

7 REPLIES 7

Ankur Bawiskar
Tera Patron
Tera Patron

Hi,

Just to inform if the fields under that section are mandatory; you cannot hide it

g_form.setSectionDisplay() is supported in workspace.

what's the challenge faced?

Regards
Ankur

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

Hello  Ankur ,

I have done using UI policy - view and ui type set as all

 

Thanks,

Supriya

 

 

So is it working fine now?

Share your UI policy etc screenshots

Regards
Ankur

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

yes its working fine now.

g_form.setSectionDisplay('hold_information', true);

add for service opertaion workspace view.