Sort the items shown in the left side of Slush bucket by 'Order' field

RamNithinD
Tera Contributor

The current default feature of slush bucket is to show the items in alphabetical order. But we have a requirement to show fields in order by the field called 'Order'. Is there any way to achieve this?

We have created a m2m table for two tables called 'Question' and 'Frequency'. Question has a related list where you can see all the frequencies associated with it(basically the data from m2m). There you have the 'Edit' button, when clicked on, it opens the slush bucket with list of Frequencies on left side. We want to that list to be in a specific order based order field.

This is how looks now(Alphabetical order):

RamNithinD_0-1766057144555.png


We want in this order (this data is from Frequency table list view):

RamNithinD_1-1766057218217.png

 



13 REPLIES 13

I've never seen this not work.  Is the related list on the frequency table, and is the order field on this table the type of Integer?

Thank you for your patience @Brad Bowman
Yes the order field of type integer.
As mentioned in the post, we have created a m2m table for two tables called 'Question' and 'Frequency'.
M2M Definition:

RajiniM_0-1766075480512.png

We get the Related list on Question record

RajiniM_1-1766075569342.png


Here we have 'Edit' button to add more Frequencies, this button opens a slush bucket, upon saving slush bucket,  a record gets created in M2M table as shown below.

RajiniM_2-1766075665969.png

So while adding new frequencies using Edit option, we want to show Frequencies in order to avoid confusion to user. The order field is present on Frequency table.
And all these configuration are in custom scope, hence I have also created the new 'Edit' UI action in the same scope.

 

 




@RajiniM 

Seems question is asked by @RamNithinD but you are responding.

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

Hi @Ankur Bawiskar 
yes we both work together, just posted the same question from both accounts to get the fast response, but ServiceNow has achieved my question as it's the same content. My question link is being redirected to this question again.

RajiniM_0-1766068749946.png