The term ‘Slushbucket’ is used in Service-now to refer to a couple of places in the system…
- The popup window view that you see when you click the ‘Edit’ button from a related list at the bottom of a form.
- The interface used to display any ‘List collector’ service catalog variable
A question that comes up pretty often is “Can I customize the slushbucket to display more information about the items shown?”. The answer to this is ‘YES’ but it might not work exactly like you think it should. Currently, you only have control over the field values shown below the slushbucket when you click on any item to highlight it. The actual values shown in the slushbucket are determined by the ‘display’ field on the dictionary entry for the referenced table. Most people would like to display multiple columns worth of data for items within the slushbucket itself, but this is not possible yet.
Adding additional fields below the slushbucket is a very simple customization though. All you have to do is personalize the ‘sys_ref_list’ list view view for the table being displayed in the slushbucket.
So, if I was displaying a slushbucket with records from the ‘Group’ (‘sys_user_group’) table would need to personalize the ‘sys_ref_list’ list view for that table. There are a couple of ways you could do this, but the way I’ll show here ensures that your updates get captured correctly so they can be migrated to another instance if necessary.
For the ‘Group’ (‘sys_user_group’) table navigate to the following URL in your browser…
https://[YOUR_INSTANCE_URL]/sys_user_group_list.do?sysparm_view=sys_ref_list
This same convention can be used for any table in your system. Simply replace ‘sys_user_group’ with the table you want to personalize. Once you’re there, just right-click the list header and personalize the list.
Any columns you add to the personalized ‘sys_ref_list’ view for a given table will be displayed below any slushbucket for that table.
I’ve just had a request at work for a slushbucket catalog variable with a tree picker inside the left hand pane…
That’s a great idea. I think it’s going to take a development effort to pull something like that off though. You can submit an enhancement request at https://hi.service-now.com.
It’s worth a go. The use case here is for a catalog item which is a request to be set up for access to the data warehouse/reporting system. Users need to specify a list of departments whose data they need access to, and our departments (465 of them) are set up in a rather complex hierarchy imported from the HR system, so a tree picker would be jolly useful.
Hi
This is a good way to display more information in the slushbucket.
But I do have a questions. Currently I have turned on the update set for my instance. After I done everythings that in the link (Go to UI Views –> Find sys_rel_list –> Find table –> Add elements)
But I cannot find it update into updateset?
Is it I need to manual do it again after I perform code move from source to destination?
Thanks
Lee
The wiki article that you used doesn’t take update sets into account. In order for this to be included in an update set you’ll need to navigate to the list view and personalize from there (which is a much better method). I’ve updated my article to include my own instructions for doing this. Following the instructions above should include the customization in your update set.
Hi Mark,
Have you heard of any upcoming improvements in relation to the slushbucket, such as adding extra data in the columns rather than underneath?
I guess another method would be to have context sensitve display values, that when displayed in a reference field an Incident number is just INXXXXXX, but in a slushbucket its a concatenation of values, such as INXXXXXX: Short Description
There are some pretty dramatic improvements coming to the slushbucket interface. I’m guessing that these will be included as part of the Calgary release…which may still be 6-9 months away.
Hi Mark,
Is there a way to add Search to a slush bucket. I am using the slushbucket UI Macro in a UI Page but I am not seeing the property to add the search to the left bucket header. Any ideas?
Hi Masha,
I’m not aware of a way to do that unfortunately. If you need anything more advanced in a slushbucket it’s probably best to try and see if it can be done with a record producer. The scripting in UI pages with filters, etc. is likely to be pretty messy and complicated.
Hi Masha, Marc,
I am facing the exact same requirement! I have a need to create 2 search enabled slush buckets where the result of the selection of the first slush would result in the populating of the second. Is this at all possible? I would be interested to know how you resolved this issue Masha.
Thanks
Lila,
I ended up creating a custom search field on the UI Page and added the search terms to the GlideRecord lookup that is used to populate the left slush bucket. It wasn’t too complicated, I can show you the code if that would be helpful.
I’d like to see that code as well
See below.
Thanks for the response Masha. I would really appretiate that. Thanks!
I got the base code from an article “Creating a Custom Slushbucket Popup Dialog” here on sncguru and modified it to this: http://community.servicenow.com/forum/15751
You don’t need to do it in a popup, it can just be impeded into a form since it is just a UI Page. Hope this makes sense and helps.
Hi Mark,
As mentioned in one of your comments “There are some pretty dramatic improvements coming to the slushbucket interface. I’m guessing that these will be included as part of the Calgary release…”.
As the Calgary release is available now, is that functionality of concatenation of values (more data) in the slush bucket available too ?
Do you have any updates on that ? I have a requirement where in i need to display users (company name + business usage)
Thanks
I don’t have any updates unfortunately. I know that it’s not a part of the Calgary release but I’m not sure when (or if) it’s coming. If you find anything out from ServiceNow, please post back here.
Does anyone know if there is a way to prevent a string from getting trimmed to a certain character length in the information fields below a list collector? For example, there are a few items in the list that have a description which contains more detail about that specific item. In the information field, the text displayed is limited to 100 characters and an ellipses. Annoying! Is there some way to override this setting? Either using a client script, or even globally?
Thank you
liam
Hi Liam,
Did you find a solution to this? I’m experiencing the same annoying limitation!
Thanks, Bryan
I also am interested in a method to accomplish this.
Hi Mark,
I was wondering if there was a way to identify if a record was added via a slushbucket/list collector? Here is my Issue, we have catalog items that have related lists associated to them. They are associated/tethered by an RITM. When an RITM is created it kicks off a Workflow that adds/tethers records to the related list with default values(default values will vary based on our business process or catalog item). What i would like to do is manipulate the default values if someone manually adds a record via the related list by clicking the Edit button, I’m not sure if that is possible or not? I’ve have also tried creating a Business Rule to run if the “Edit” UI Action button was clicked, but i have not successfully been able to identify if the ui action(getActionName) from a business rule. Hope this makes sense, any tips or advise would be greatly appreciated.
Thank you
The standard related list interface slushbuckets don’t really have any flexibility to them. I think the best you can do is set a single default filter.
Hi Mark,
Thank you for the quick reply…I think i may have made things more complicated during my explanation.. I guess what i am trying to do is identify what records where added to the related list via the “Edit” button. If a record was added via the edit button then a certain business process needs to happen. Thank you
Editing from a related list is really just an insert/update/delete to the table being displayed in the related list. If you want to take an action based on editing a related list then you need to set up a business rule on that list. The specifics of the business rule depend on a lot of factors, but that’s where you’ll need to start.
Hi Mark,
Thanks for taking the time and offering your input..Its greatly appreciated.
Hi mark, I have used this link to remove fields but one [display = true] field remains there. Is it possible to remove even that.
Unless it is removable by using the methods described here, there’s no way I know of to remove it.
Hello Mark,
Is there any way by which we can hide the filters above the slushbucket after we click on the Edit button? I have a requirement where i want to hide the filters for some users so that they just get the filtered list, but they should not change the filters.
Thanks in advance!
Regards,
Prajakta Naik
Unfortunately, there’s no way to modify that screen. The only thing you can do is abort the update/insert of records to the list edit table if they don’t meet the desired conditions.
Hi Mark,
Thanks for your quick response!
By aborting update/insert of records to the list edit table, do you mean that if the user changes the filter condition and tries to add a record to the right slushbucket, he should not be allowed? If this is the case, then where can i check whether the user has changed the filter and adding the record?
I suppose it can be checked on the ‘Save’ UI action of the same page..but as you said we cannot modify anything on that screen, where can i get this information?
Thanks,
Prajakta Naik
Hi Mark, is it possible to increase the ‘sys_ref_list’ columns. We have a requirement like that. When a role is selected, I can see the description but, it is not visible fully. Any thought on this.
There’s not anything you can change, but the full field should be visible. You’ll probably need to contact ServiceNow support if you’re seeing that issue.
found this extremely useful! thanks for sharing this
Does anyone know if it is possible to display an image for the sys ref list? For example, the list collector is a reference to the hardware model table and would like the picture to show when select hardware model from the list collector. Currently it just shows the image file name.
Thanks!
Great worked perfectly …thanks alot.