How to sort advanced reference qualifier for a reference field?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 03:52 AM
I am using a script include for reference qualifier, but now the list should be sorted . Is there any way this can be achieved?
- Labels:
-
Multiple Versions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 04:12 AM
I have shared solution in this post
Please check if that works well for you
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 04:18 AM
I tried doing this but it doesn't seem to work.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 04:21 AM
Hi Bharati,
If its a variable then you can user variable element as ref_ac_order_by=orderFieldName
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 04:21 AM
It's not a variable, it's on the form.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-20-2021 04:30 AM
User Reference qualifier as below.
javascript:"ORDERBYu_label^u_category=" + current.u_case_number.u_dispatch.u_category+ "^u_field_name=u_billableratecardcategory^u_mapping_type=Value^u_active=true"