Comment
11-08-2024
03:11 PM
11-08-2024
03:11 PM
I love it. Thanks Kristy for another great video.
Did you know you can also do this from the list view as well using the "Add Sort" button?
To copy Kristy's example, sorting by Priority and Opened (descending), it would look like this.
For those that want to get really geeky and want to modify the URL so you can make URLs specific to your sorts, check out how this is done in the sysparm_query parameter in the URL by use of the ORDER and ORDERDESC keywords. Just pay close attention to a) the URL encoding (e.g. %255E, %3D, and so on) and b) there is no equals sign (or encoded equivalent) between ORDERBY/ORDERBYDESC and the field name. For example:
https://your_instance.service-now.com/now/nav/ui/classic/params/target/incident_list.do%3Fsysparm_query%3DORDERBYpriority%255EORDERBYDESCopened_at%26sysparm_first_row%3D1%26sysparm_view%3D