How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-18-2016 12:50 PM
Hello Community,
I am trying to filter out the Configuration Items (CIs) with empty names in both 'Edit' Slush bucket and 'Add' button sys popup window of 'Affected CIs' related list. I am able to use the 'Default filter' from the List control of the 'Affected CIs' related list header, but I am trying to find ways to apply the same filter to the 'Add' button sys popup window under 'Affected CIs' related list.
Any thoughts?
I tried to add Default filter on the 'Add' button's sys popup of list hearer, but I couldn't add the 'Edit default filter' field to the form on this List control.
Thanks,
Hari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 05:31 AM
Thanks Stacey but this way I can hide it and my requirement is to make it visible but read only so that users can't modify it that filter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-30-2017 06:38 AM
Maybe you can use the parameter sysparm_fixed_query=<your filter> somehow.
http://wiki.servicenow.com/index.php?title=Restricting_Filters_and_Breadcrumbs#gsc.tab=0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-19-2018 07:22 PM
Thanks Man
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-19-2018 09:05 AM
Hi Lionel, i have tried your solution and it is working. But we do not want the user to modify the initial filter. is there a way to filter the list default without displaying the condition in the filter?
thanks,
sry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-09-2019 07:16 AM
Thank you for your solution, Lionel. It is exactly what I was looking for, setting the filter as default but allowing the user to remove the filter if desired.
I have one question, however. How can I make this filter persistent if the user decides to change the configuration class? As it exists now, if the user changes the configuration class the filter is removed. I'd like it to remain persistent.
Thanks,
Ron Wells