Order by attribute for list field in workspace, any ideas?

Alfred Brorsson
Tera Contributor

Hello,

 

I have a customer where we have built a custom workspace for their application. We use the "ref_ac_order_by" attribute to sort the results, however this does not work for a list field. This means that list fields can't present the different options in an ordered manner, which is a problem. 

 

See comparison between the list field and reference field:

Reference field: (Sorts automatically 1-6)

AlfredBrorsson_0-1693320588074.png

List field: (Does not sort)

AlfredBrorsson_1-1693320615735.png

 

 

Any creative ideas for a solution?

 

//AB

3 REPLIES 3

JG9
Tera Contributor

ServiceNow has a solution for dropdown list choices, you could configure dictionary for the field, go to advanced View in the related links and add 'ref_sequence=u_field', 'ref_ac_order_by=u_field' will not work (works for record producer).

Refer to KB0535733.

JG9
Tera Contributor

ServiceNow has a solution for dropdown list choices, you could configure dictionary for the field, go to advanced View in the related links and add 'ref_sequence=u_field', to the attributes 'ref_ac_order_by=u_field' will not work (works for record producer).

Refer to KB0535733.

JG9_0-1697208090556.png

 

 

This does not work for a List field sadly, only for a reference field with choices