Slushbucket on UI page needs a filter

snoozer
Mega Guru

I am creating a UI page with a slush bucket. Unfortunately, the slush bucket has far more options than get displayed to the user. (ServiceNow will only display 100 options in a slush.) I need to allow the user to filter on this slush bucket so they can get to the options they need. I have seen slush buckets in ServiceNow with filters attached, but when I use 

<g:ui_slushbucket> in the UI page, I get a slush bucket with no filter options.
 
How can I add a slush bucket with filter options to a UI page?
 
I've included an image that shows the slush bucket I have currently and the one I would like to create.
6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@snoozer 

can you please which OOB UI page has slushbucket with filter capability for user?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

Yes, my example came from clicking on the "Add/Remove multiple" button next to a List field.

 

@snoozer 

can you explain what's your business requirement?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

I have a related list on a form. I want to allow the user to create multiple entries on this related list with one swift action because they often have a lot of entries to add and do not want to do it one-by-one.

 

They would open the UI page and select multiple records from a different table which is a field on the related list table. Slush bucket is an ideal way to do this because they can easily select multiple records at once, or cherry-pick records, move them all to the right side, and click OK. After that, I have code that will pick up all the records from the right side and create entries in the related list based on those records.

 

It all works great except for the fact that there are 12,000 records for the user to choose from and they can only see the first 100 in the slush bucket.