- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
Is there a way to ensure that all sections of a form are expanded by default when it loads( workspace) , regardless of whether those sections were previously minimised on other records?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
this worked for me in onLoad client script, this works in workspace only
function onLoad() {
//Type appropriate comment here, and begin script below
g_aw.setSectionExpanded('impact', true);
g_aw.setSectionExpanded('assignment', true);
g_aw.setSectionExpanded('cause', true);
g_aw.setSectionExpanded('resolution', true);
g_aw.setSectionExpanded('related_records', true);
g_aw.setSectionExpanded('incident', true); // main section
}
Output
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
this worked for me in onLoad client script, this works in workspace only
function onLoad() {
//Type appropriate comment here, and begin script below
g_aw.setSectionExpanded('impact', true);
g_aw.setSectionExpanded('assignment', true);
g_aw.setSectionExpanded('cause', true);
g_aw.setSectionExpanded('resolution', true);
g_aw.setSectionExpanded('related_records', true);
g_aw.setSectionExpanded('incident', true); // main section
}
Output
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

