- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 12:50 AM
Hi everyone
I created a section( Payroll forms) in the default view and workspace view. Is it possibile to make this section only visible for a particular service either by using Client script or any other way to achieve this. I wanted to show this section only under particular service in agent workspace
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 09:07 PM
Hi
You can use g_form.setSectionDisplay in the Workspace UI with a UI Policy Run Script set to All.
using conditions:
Execute if true:
function onCondition() {
g_form.setSectionDisplay('related_records', false);
}
Execute if false:
function onCondition() {
g_form.setSectionDisplay('related_records', false);
}
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 05:45 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2022 12:13 AM
Regards,
Musab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2022 09:07 PM
Hi
You can use g_form.setSectionDisplay in the Workspace UI with a UI Policy Run Script set to All.
using conditions:
Execute if true:
function onCondition() {
g_form.setSectionDisplay('related_records', false);
}
Execute if false:
function onCondition() {
g_form.setSectionDisplay('related_records', false);
}
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2022 04:45 AM
Hi
Glad to see my answer helped you, Kindly mark the answer as Correct & Helpful both such that others can get help.
Thanks,
Sandeep