UI builder Client Script for specific view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 11:20 AM
Hello all,
I'm using one table list view in UI builder specifically the workspace view in that whatever I did changes in workspace view are reflecting in my ui builder workspace.
Now I wanted to hide one section and for that I have written the onload client script but that is not working as expected. I tried in both view based and global script but not working. Do anyone has any script which can hide section on the basis of user roles for UI Builder .
My script
if (g_user.hasRole('legalservice_manager')){
g_form.setSectionDisplay('activity, true);
} else {
g_form.setSectionDisplay('activity', false);
}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 10:43 PM
Is there anyone know about this ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2023 10:43 PM
Anyone know about this ?
