Comments on: Changing the Filter of a List Collector Variable via Client Script https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/ ServiceNow Consulting Scripting Administration Development Tue, 28 May 2024 21:47:37 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Jan https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6348 Tue, 14 Mar 2023 06:39:26 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6348 Still works for me in 2023, thx :) Don’t forget to uncheck isolate script. Works perfectly on SP and backend.

]]>
By: Mila Morales https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6339 Tue, 19 Sep 2017 19:26:57 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6339 In reply to Ashish Rai Sharma.

Hi Ashish,

I’ve tested this script to a Catalog item and impersonates a users without any role, I created a new record using the catalog item with a list collector run the script using a client script and it works as I expected. Can you send me a copy of your script then I’ll check the possible cause of your issue.

]]>
By: Pritesh Prajapati https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6338 Wed, 13 Sep 2017 14:47:40 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6338 Hi, Is there any way to clear existing values in list collector in Service portal? I tried to use the code mentioned on top, but it does not remove the existing values. It refreshes list collector filters only.

]]>
By: Mila Morales https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6337 Thu, 07 Sep 2017 15:35:54 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6337 In reply to Chandran.

Here’s a link that can help:
https://servicenowguru.com/system-ui/customizing-slushbucket/

]]>
By: Mila Morales https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6336 Wed, 06 Sep 2017 19:24:49 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6336 In reply to Nitin Kumar.

Actually this would work whether a user has role or not. You can send a copy of your script then we’ll check the problem.

]]>
By: Nitin Kumar https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6335 Tue, 29 Aug 2017 05:21:10 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6335 Hi Mark, I am using the onChange client script rom this article to filter the catalog items and the filter doesn’t seem to work for ESS users. Do you have any idea why?

]]>
By: Jim Pisello https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6334 Fri, 14 Jul 2017 16:48:41 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6334 In reply to ram.

Hi Ram,

Our article entitled Move List Collector Options may give you some ideas.

]]>
By: ram https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6333 Tue, 13 Jun 2017 19:05:07 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6333 I have field with User sys_id’s comma separated, how to select these users in list collector on Client Script.

]]>
By: Ashish Rai Sharma https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6332 Mon, 05 Jun 2017 20:26:01 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6332 Hi Mark,

This code doesn’t seem to be work with the non-admin user. It works with Admin user, but when I impersonate with the non-admin user, it clears out the list. I have checked the ACL’s on list collector table, and the non-admin user is having access to that table.
Is there something wrong with security to table?

Thanks
Ashish

]]>
By: Chandran https://servicenowguru.com/client-scripts-scripting/changing-filter-list-collector-variable-client-script/#comment-6331 Wed, 24 May 2017 19:43:19 +0000 https://servicenowguru.wpengine.com/?p=666#comment-6331 Mark, do you know if there is a way to load the list collector with values other than the display value. I would love to get some other fields in there

]]>