Hide Sections on Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-25-2017 05:55 AM
Hi All,
using g_form.setSectionDisplay(sectionName, isVisible) is not hiding sections in service portal.
Dose any one know solution for this issue?
I am working on Helsinki.
Thanks,
sajan
- 4,753 Views

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-07-2019 05:50 AM
Has this been fixed? I'm trying in Madrid patch 4 and still experience the issue of not been able to hide a section.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-25-2020 01:41 PM
Same Problem. It is working fine in London, but not working as expected after upgrading to Orlando. Has this been fixed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-23-2022 03:39 PM
In version: Paris
GlideForm - setSectionDisplay(String sectionName, Boolean display)
sectionName | String | The section name is lower case with an underscore replacing the first space in the name, and with the remaining spaces being removed, for example "Section Four is Here" becomes "section_fourishere". Other non-alphanumeric characters, such as ampersand (&), are removed. Section names can be found by using the getSectionNames() method. |
display | Boolean | When true shows the section. When false hides the section. |
function onLoad() {
if (typeof spModal != 'undefined') { // we are in the Portal
g_form.setSectionDisplay('notes', false);
}
}
This works. Note that this worked in my Scoped app as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-30-2025 12:04 AM
It is not working anymore on Washingtondc release, any other solution?