Want clientScript to populate the record in select slush bucket(list collector) which is not present in available slush bucket default records.

Kartik Choudha1
Tera Guru

I have created a list collector for one table in catalog item. Now, slush bucket - Available section shows around 100 records and I have written one client script that do glide ajax call and glide record the specific records and the exist records will be populated in selected section of slush bucket.

Now the issue is - suppose one record should get selected in select(slush bucket section) but it is not happening and the same record exists in the DB-table but not present in available slush bucket section (which has 100 records populated). I want that record to be added in select slush bucket through my client script. Client script is populating record which is present in available slush bucket but not selecting the one which is not there in 100 records.

1 REPLY 1

Brad Bowman
Kilo Patron
Kilo Patron

You need the client script to refresh the list collector filter before the steps to select certain values so that all of the results that you are selecting/moving to the Selected bucket first appear in the left/Available bucket.  See this article for the full explanation with a sample script

https://community.servicenow.com/community?id=community_article&sys_id=28040fa4db2788905129a851ca961...