Reference Qualifier - a condition combined with ORDERBY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2019 05:57 PM
Hi Community,
I have a question about how to write reference qualifier.
I have a condition to filter a select lookup box, and I want to organize the choices using ORDERBY.
Now my reference qualifier is like this:
javascript: 'u_item_name='+current.variables.u_item_name_women;
And I want to add ORDERBY, however, it didn't work after trying the below ones:
javascript: 'u_item_name='+current.variables.u_item_name_women^'ref_ac_order_by='u_order;
javascript: 'u_item_name='+current.variables.u_item_name_women+'^ref_ac_order_by=u_order';
javascript: 'u_item_name='+current.variables.u_item_name_women^ORDERBYu_order;
I suspect the codes are slightly wrong, but not knowing which part.
I'd be very thankful if anyone could help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2024 09:47 PM - edited 02-11-2024 10:03 PM
Hello @L_10 ,
You can add javascript : 'u_item_name='+current.variables.u_item_name_women^EQ in Reference qualifier and add ref_ac_order_by=u_order in variable attributes

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2025 09:09 AM - edited 02-05-2025 09:09 AM
In the variable attributes, ref_ac_order_by=order will sort the data by order column. I have just tested in Xanadu version and it is working correctly. If you do not provide any order, it will by default sort by display name in asc order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago