Need to create uneditable filter on a particular table for a particular user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 10:21 AM
Hii all,
Can anyone help me out in restricting the logged in user to edit the filter on any table, when he opens the table using a report in dashboard.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 11:05 AM - edited 08-29-2023 01:35 PM
Hello @Neeraj _,
There are a few possible ways to restrict the logged in user from editing the filter on any table when they open the table using a report in dashboard in ServiceNow. Here are some of them:
- You can use the Omit Filter option to remove the filter icon from the related list header. This will prevent the user from changing the default filter condition that you have applied. You can find more details on how to do this here: How to restrict the Users changing the default filter in related list.
- You can also use the List Control feature to configure the list behavior for a specific table and role. You can set the Filter Editable property to false to disable the filter editing for that table and role. You can find more details on how to do this here: How to restrict users from editing a column on a list.
- Another option is to use a UI Policy or a Client Script to hide or disable the filter icon on the related list. You can use the g_list object to access the list properties and methods. You can find more details on how to do this here: How to add Default filter when “Edit” button is clicked from related lists to add/remove items.
- Check this link - https://docs.servicenow.com/en-US/bundle/vancouver-platform-administration/page/administer/list-admi....
You can pass the filter using
&sysparm_fixed_query=active=true
This will fix the filter.
Hope this helps.
Kind Regards,
Swarnadeep Nandy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2023 11:29 AM
Hi @Neeraj _
Navigate to Configure > List control > Filter roles
Add admin role
Mark answer correct if it helped.
Kumud