HOW TO CONFIGURE LIST MENUS based on Server-side logic IN SERVICENOW CONFIGURABLE WORKSPACE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
In one of my recent projects, I worked on a scoped application where I need to configure list menus for Service Operations Workspace. To my surprise, OOB the visibility of the list was exclusive to administrators within the Service Operations workspace. Users with no other roles including the “itil” has visibility.
To make the lists visible to everyone, several steps need to be configured.
Please find the detailed steps below:
(In this example Facilities management request a list menu)
Step 1: Initially, establish or define modules within this table – sys_ux_list
Step 2: Utilize this table to categorize the list - sys_ux_list_category
Step 3: Configure right audience(roles) using Audience form - sys_ux_applicability
Use the Roles list collector to add roles for which this list menu should be visible.
Step 4: Map the audience to the lists - sys_ux_applicability_m2m_list
This is how the end result looks like :
This is nice, But my use-case is little extension of this. Here you're giving list menu access on the basic of static roles, But what if we want to give the access based on some server side data.
In this case we need to write server-side logic, But I didn't find any place where we can write server side logic on UI builder.
You can find possible solutions, But none of them are working.
Help me if you encountered same situation.
Thanks In advance.
