- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 04:16 AM - edited 01-18-2024 04:17 AM
We want to show/hide the lists on FSM/ CSM Workspace based on the workspace view(if possible) or roles or there is any other way.
We have workspace views defined based on roles , so we want to show/hide the lists for different users based on workspace views.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 10:56 PM
Here is the full way to make it possible -
Create the new list:
Step 1- Go to /sys_ux_list_menu_config_list.do and find your workspace that you want to add the list to.
Step 2- Open the related list (UX List Categories) which section you want the list to appear in the lists view (table name: /sys_ux_list_category_list.do).
Step 3- Create/update the list as you desire in related list (UX List) and save (table name: /sys_ux_list_list.do)
Once above steps are done a Admin will be able to view the list, but the issue is that the Agent wont be able to view it. That's where the m2m table comes in.
Create the new m2m record:
Step 4- Go to /sys_ux_applicability_m2m_list_list.do in order to add the list there with the defined role, create a new record there with the related list category you added the list in step 3.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 08:14 AM
If you have view defined, then you can create a client script and using the "view" field you can hide a related lists by:
g_form.hideRelatedList('relatedListName');
Kindly mark the answer ✔️Correct or Helpful ✔️If it addresses your concern.
Regards,
Siddhesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-18-2024 08:41 AM - edited 01-18-2024 08:41 AM
Hi Tygai,
You can do it, from the table "sys_ux_list" by adding the view and restricting the view based on roles
This article will help you --> Configuring Lists in Configurable Workspace - ServiceNow Community
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2024 10:56 PM
Here is the full way to make it possible -
Create the new list:
Step 1- Go to /sys_ux_list_menu_config_list.do and find your workspace that you want to add the list to.
Step 2- Open the related list (UX List Categories) which section you want the list to appear in the lists view (table name: /sys_ux_list_category_list.do).
Step 3- Create/update the list as you desire in related list (UX List) and save (table name: /sys_ux_list_list.do)
Once above steps are done a Admin will be able to view the list, but the issue is that the Agent wont be able to view it. That's where the m2m table comes in.
Create the new m2m record:
Step 4- Go to /sys_ux_applicability_m2m_list_list.do in order to add the list there with the defined role, create a new record there with the related list category you added the list in step 3.