- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 04:56 AM
i had a requirement to collapse the complete variable set in the catalog onload of the catalog form.
That should work in the portal too...!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
-
Team Development
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 05:51 AM
You have to goto variable set or variables from left nav pane and then from list view you need to get the sys_id. Please mark Correct Like and Helpful if you find my response worthy.
Thanks,
Deepa

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 05:06 AM
https://community.servicenow.com/thread/165997?q=variable%20set%20coll
Go through this link it will help you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 05:08 AM
Hi ,
Check below link.
Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.
Thanks,
Deepa
How could we Collapse a form section on page load?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 05:09 AM
Hi ,
If you are using fuji and prior use togglevariableset('sys_id_of_variable');
Next to Fuji togglevariablecontainer('sys_id_of_variable');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-29-2016 05:24 AM
No Luck. i tried with below script , but not working.
function onLoad() {
// toggleVariableSet('d84942f56fe482005de9f00dba3ee460', false);
// togglevariablecontainer('d84942f56fe482005de9f00dba3ee460');
toggleVariableSet('d84942f56fe482005de9f00dba3ee460', false);
}