- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 12:13 AM
Hello everyone, do you know how to hide certain sections in Workplace when a specific condition on the form is met?
For example, if the login date is after today, I want to hide or collapse the section named "User Information".
Solved! Go to Solution.
- Labels:
-
workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 12:35 AM
you can show/hide the section using this in client script or UI policy script
g_form.setSectionDisplay('section_name', false);
// section name is convert everything in lower case and use _ if space is there
Example:
g_form.setSectionDisplay('resolution_information', false);
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 12:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 01:03 AM
@kack l Uncheck the global check box and put your view name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-14-2025 12:39 AM