We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to add a 'Default filter' to the 'Affected CIs' related list to the 'Add' button

harinalamalapu
Giga Expert

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

24 REPLIES 24

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.


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



Not applicable

Thanks Man 

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

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