Hide Sections on Service Portal

sajan_high_0192
Mega Contributor

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

23 REPLIES 23

Thanks for confirming here, nthumma! It looks like the release notes promise the same: Kingston Patch 3

Hi Mike,

I am trying following on normal form and it doesn't seem to work. Does it work on normal forms as well.

//alert('sections ' + sections[1].id);  I can see the id here but no hiding. 

 

function onLoad() {
//Type appropriate comment here, and begin script below
//alert('calling hide ' + g_form.getSections());
var sections = g_form.getSections();
//alert('sections ' + sections[1].id);
g_form.setSectionDisplay(sections[1], false);
g_form.setSectionDisplay(sections[2], false);
g_form.setSectionDisplay(sections[3], false);
g_form.setSectionDisplay(sections[4], false);
}

Karina15
Giga Contributor

I'm also looking for a solution for the portal. Any tips?

 

Thank you.

anujdev
Giga Guru

This issue has been fixed in Kingston latest patch.

Thanks all for your time and replies.

nathanfirth
Tera Guru

I just tested this in London and it still doesn't seem to be working. I just created an Incident on HI and tagged you @jesseadams.