how to hide section in from workspace view
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago
hello
I want hide policy setup section in policy form
if anyone know pls suggest
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
so what was the question?
Regards,
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago - last edited 4 hours ago
You can configure a UI policy with Run script.
Execute if true:
function onCondition() {
g_form.setSectionDisplay('<your section_name>', true); //Display section
}
}
Execute if false:
function onCondition() {
g_form.setSectionDisplay('<your section_name>, false); //Hide section
}
}
