How to make a default filter on Slush bucket to either hide/read-only??

ushakarthya
Kilo Contributor

Hi can anyone help me out on how to make a slush bucket filter to hide/read-only..

9 REPLIES 9

amaradiswamy
Kilo Sage

Hi Usha,



Do you want to hide filters for list collector variable?



Thanks and regards


Swamy


Hi Swamy,



We have a Related list (Incidents) on Problem form, we configured the default filter to be Problem is not empty so that users can relate any number of incidents that are not mapped to any problem already.



But when user tries to relate any incident via Edit button, users are actually able to edit the default filter on the slush bucket available.


find_real_file.png


I need to hide or make the filter available on the slush bucket to readonly so that users cannot change the default filter that is set on the list control.



Hope it helps you to track the issue.


Mihir Mohanta
Kilo Sage

You can do it by adding the 'no_filter' attribute to the 'Attributes' field on the variable form.


There are some other methods are also available.Please go through below links for details.



Hide List Collector Filters - ServiceNow Wiki



Changing the Filter of a List Collector Variable via Client Script - ServiceNow Guru



Thanks,


Mihir


Hi Mihir Mohanta



I tried using no_filter but that does'nt work. It works only for List collector variable on Catalog form. But I need to use it on Conditions type variable.