How to make a default filter on Slush bucket to either hide/read-only??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2017 03:15 AM
Hi can anyone help me out on how to make a slush bucket filter to hide/read-only..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2017 03:25 AM
Hi Usha,
Do you want to hide filters for list collector variable?
Thanks and regards
Swamy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2017 04:30 AM
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.
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2017 04:13 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-02-2017 04:34 AM
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.