We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Catalog item variable showing filter when it is tried

amacqueen
Mega Guru

I've created a Catalog Item which has a variable defined of type 'list collector' on the Group (sys_user_group) table and have added a short reference qualifier to hide certain groups. When I go and 'Try' the Catalog item I get the filter options showing above the list of choices (see below or attachment) however I don't want the user(s) to see this? Any help would be much appreciated.

 

find_real_file.png

1 ACCEPTED SOLUTION

Willem
Giga Sage

Hi amacqueen,

You want to hide the filter fields? Then refer to this:

Administrators can easily hide the filter fields that appear above a list collector by adding the no_filter attribute, which is the recommended approach. Using the no_filter requires no scripting.

Refer this for other filter related queries.

https://old.wiki/index.php/Hide_List_Collector_Filters

https://www.servicenowguru.com/scripting/client-scripts-scripting/changing-filter-list-collector-var...

https://community.servicenow.com/community?id=community_question&sys_id=6e2187e5db98dbc01dcaf3231f96...

 

Reference: https://community.servicenow.com/community?id=community_question&sys_id=ffe5d428dbe6885023f4a345ca96...

View solution in original post

3 REPLIES 3

Willem
Giga Sage

Hi amacqueen,

You want to hide the filter fields? Then refer to this:

Administrators can easily hide the filter fields that appear above a list collector by adding the no_filter attribute, which is the recommended approach. Using the no_filter requires no scripting.

Refer this for other filter related queries.

https://old.wiki/index.php/Hide_List_Collector_Filters

https://www.servicenowguru.com/scripting/client-scripts-scripting/changing-filter-list-collector-var...

https://community.servicenow.com/community?id=community_question&sys_id=6e2187e5db98dbc01dcaf3231f96...

 

Reference: https://community.servicenow.com/community?id=community_question&sys_id=ffe5d428dbe6885023f4a345ca96...

That's great Willem, many thanks

You are welcome, happy to help! 🙂