Descending Sort for reference field in service portal

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 05:12 AM
Hi Team,
How to sort records in 'Reference' field in descending order in Service Portal. I am able to sort in backend ,but it is not reflecting in service portal.
Tried below but no luck -
1.ORDERBYDESCnumber
2. ref_ac_order_by = number
3.ref_sequence = sys_created_on
4. ref_ac_order_by_desc = number
Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 05:47 AM
Hello @Community Alums,
Please try like below sample code
<sn-record-picker default-query="ORDERBYDESCfield" //replace field name at field
-----------------
------------------
--------------------->
</sn-record-picker>
Please mark my answer as helpful, if it helps you
Thank you
Thank you
G Ramana Murthy
ServiceNow Developer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2023 05:59 AM
@Community Alums
try to use query BR on that table but it would impact other places in instance as well
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader