Container Start needs to be Collapsed by default
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2018 07:26 AM
Hi,
Can anybody please suggest, how can we make Container in Service catalog Collapsed by default, I don't want to show fields within container when form is loaded, fields should be visible only when user expands the container.
Thanks in advance
Mangesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2018 07:33 AM
See this thread for onLoad client script example:

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2018 07:34 AM
HI,
Can you use onload script as below:
function onLoad() {
setCollapseAllIcons('collapse', '');
expandCollapseAllSets(false);
}
Thanks,
Ashutosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-25-2018 12:09 PM
May be some syntactical error is in your code Ashutosh but below 1 worked,
toggleVariableContainer('b220952f0fe51700abfedb0be1050eec');

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-27-2018 04:04 AM
How to only collapse some container?
The 'toogle way' does not work in the serviceportal ...