Customizing the Slushbucket

Home/System UI/Customizing the Slushbucket

Customizing the Slushbucket

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.

Slushbucket Normal

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.

Slushbucket sys_ref_list

Slushbucket Personalize List View

Any columns you add to the personalized ‘sys_ref_list’ view for a given table will be displayed below any slushbucket for that table.

Slushbucket Personalized

By | 2011-04-26T07:17:17+00:00 February 25th, 2010|Categories: System UI|Tags: , |34 Comments

About the Author:

Mark has worked in the IT industry since 2002 and with ServiceNow since 2007. He is the founder and creator of SN | Guru and the co-founder of Crossfuze, one of the worlds leading ServiceNow consulting partners. Prior to co-founding Crossfuze, he worked for ServiceNow as a Senior Architect on the Professional Services team. He has personally led dozens of successful implementations encompassing every part of the ServiceNow platform. He is also responsible for designing and developing groundbreaking ServiceNow solutions and best practices in the form of various applications, turnkey solutions, and integrations during his tenure at ServiceNow, Crossfuze and, of course, SN | Guru. These solutions are used today by ServiceNow administrators and consultants alike in hundreds of ServiceNow instances around the world!

34 Comments

  1. Richard Huss April 30, 2010 at 9:39 am - Reply

    I’ve just had a request at work for a slushbucket catalog variable with a tree picker inside the left hand pane…

    • Mark Stanger April 30, 2010 at 9:45 am - Reply

      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.

      • Richard Huss May 3, 2010 at 9:08 pm - Reply

        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.

  2. Lee April 25, 2011 at 10:43 pm - Reply

    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

    • Mark Stanger April 26, 2011 at 1:19 am - Reply

      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.

  3. David Field July 4, 2012 at 9:47 am - Reply

    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

    • Mark Stanger July 4, 2012 at 11:46 am - Reply

      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.

  4. Masha Haddock September 6, 2012 at 3:00 pm - Reply

    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?

    • Mark Stanger September 6, 2012 at 5:33 pm - Reply

      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.

    • Lila Harrar February 20, 2013 at 2:21 am - Reply

      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

      • Masha Haddock February 20, 2013 at 9:46 am - Reply

        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.

        • David Field February 20, 2013 at 10:04 am - Reply

          I’d like to see that code as well

        • Lila Harrar February 20, 2013 at 10:16 am - Reply

          Thanks for the response Masha. I would really appretiate that. Thanks!

          • Masha March 7, 2013 at 4:22 pm - Reply

            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.

  5. Ishan October 24, 2013 at 12:56 pm - Reply

    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

    • Mark Stanger October 24, 2013 at 1:28 pm - Reply

      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.

  6. Liam June 20, 2014 at 3:33 pm - Reply

    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

    • Bryan July 28, 2014 at 1:07 pm - Reply

      Hi Liam,

      Did you find a solution to this? I’m experiencing the same annoying limitation!

      Thanks, Bryan

    • Dinga November 3, 2014 at 2:43 pm - Reply

      I also am interested in a method to accomplish this.

  7. Peter September 3, 2014 at 11:37 am - Reply

    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

    • Mark Stanger September 3, 2014 at 11:52 am - Reply

      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.

      • Peter September 4, 2014 at 12:51 pm - Reply

        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

        • Mark Stanger September 4, 2014 at 12:57 pm - Reply

          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.

          • Peter September 5, 2014 at 10:46 am - Reply

            Hi Mark,

            Thanks for taking the time and offering your input..Its greatly appreciated.

  8. feroz shaik October 2, 2014 at 8:55 am - Reply

    Hi mark, I have used this link to remove fields but one [display = true] field remains there. Is it possible to remove even that.

    • Mark Stanger October 2, 2014 at 8:59 am - Reply

      Unless it is removable by using the methods described here, there’s no way I know of to remove it.

  9. Prajakta Naik February 9, 2015 at 6:05 am - Reply

    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

    • Mark Stanger February 9, 2015 at 6:55 am - Reply

      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.

  10. Prajakta Naik February 10, 2015 at 1:43 am - Reply

    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

  11. Sudharsanan February 24, 2015 at 1:27 am - Reply

    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.

    • Mark Stanger February 24, 2015 at 5:08 am - Reply

      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.

  12. vijay k April 27, 2015 at 11:57 pm - Reply

    found this extremely useful! thanks for sharing this

  13. Billi Lumley December 16, 2015 at 10:19 am - Reply

    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!

Leave A Comment