g_form.setSectionDisplay("sectionName", false) is not hiding section's labels in service portal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 08:28 PM
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.
referred : Hide Sections on Service Portal ,but didn't work out.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2018 09:17 PM
have you checked the thread bro?
getSectionNames() should work
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-01-2018 08:58 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2021 10:59 PM
PF the below URL.
https://servicenowguru.com/scripting/client-scripts-scripting/showhide-form-section/