- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-12-2025 02:03 PM - edited ‎06-13-2025 08:39 AM
I have a list component in UIB with a filter and I'm trying to figure out how to do an orderby on multiple columns. My filter criteria is bound to a client state parameter that's being dynamically created in a client script. The filter works fine for bringing back the desired data, but I haven't been able to figure out how to order the data. Including '^ORDERBY<fieldname>' in the script did not work. I've confirmed that the user does not have any sort preference already stored for that table, either.
Any ideas would be much appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2025 09:37 AM
I set the following client status parameter in the filter and confirmed that it worked:
category=software^ORDERBYpriority^ORDERBYstate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2025 09:37 AM
I set the following client status parameter in the filter and confirmed that it worked:
category=software^ORDERBYpriority^ORDERBYstate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2025 10:45 AM
Thanks! I'm still relatively new to SN and hadn't thought to try the filter criteria. My query is being sent in a URL parm, but creating a client state param with my various sorting and then binding that to the default filter field worked!