The CreatorCon Call for Content is officially open! Get started here.

g_form.setSectionDisplay("sectionName", false) is not hiding section's labels in service portal.

anujdev
Giga Guru

Issue :

 

using g_form.setSectionDisplay("sectionName", false) is not hiding section's   labels in service portal.

Sections are getting hidden but section's label still visible .

Any help pointers ?

Dose any one know solution for this issue?

I am working on Jakarta.

PFA for detail.Form   SITA   Service Portal.png

referred : Hide Sections on Service Portal ,but didn't work out.

7 REPLIES 7

have you checked the thread bro?



getSectionNames() should work


anudeepramashay
ServiceNow Employee
ServiceNow Employee

This is identified as PRB722129 which is currently not working from Istanbul + versions.


Please view the following community post:


Re: Hide Sections on Service Portal


Abdul_Rahiman
Tera Guru

PF the below URL.

https://servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/