- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2016 10:36 PM
I have a record producer has 6 container . I'm able to collapse all the container when catalog onLoad with the below script.
Catalog Client script
OnLoad
setCollapseAllIcons('collapse', '');
expandCollapseAllSets(false);
BUT user wants to expand the first container alone when the catalog onLoad other container needs to be collapse.
I tried with togglevariablecontainer() and toggleSectionDisplay('sys_id'); NOT working.
Any help??
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-15-2016 12:30 AM
expandCollapseAllSets(false);
toggleVariableSet('3c9975a10f3ed200781ccf8ce1050e05'); //replace with the sys id of the first container variable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2016 10:49 AM
I tried your code in Eureka and it works great, but it doesn't seem to work in Geneva. Have you had any luck there?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-27-2016 12:29 PM
Hi,
use tooglevariablecontainer('sys_id');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-31-2016 11:12 AM
Hi Midhun-
Thank you for the reply. I'm assuming it's togglevariablecontainer not tooglevariablecontainer, but neither worked. I tried it as follows
expandCollapseAllSets(false);
togglevariablecontainer('sys_id');
I can't even get anything to collapse in Geneva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-01-2016 03:40 AM
Hi Rugen, You need to remove expandCollapse line from the script , below is the sample
function onLoad() {
//Type appropriate comment here, and begin script below
toggleVariableContainer('r342b4d44555780b8faf1728110c72e');
toggleVariableContainer('3378e45a34f9212b8faf1728110c77b');
}
So the sysid mentioned will be collapsed. other containers will be expanded.
Please mark helpful , if really helps you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-06-2016 12:27 PM
Works perfectly. Thank you so much!