Default sort order to override last user sorted preference
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-15-2017 07:31 PM
Hi All,
I am trying to set a default sort order for a table, which has to override last sorted column by any user. Ideally service now remembers the last sorted column by users and display the list as per his last setting when he logins back.
I want the sort to override user preference always once the user clicks on other module and returns to the same module, the sort order should be what I set as default.
Controlling the sort sequence used to display lists
I have used the above link to achieve sorting by going into the module and updating my requirement in the argument section.
Any help is highly appreciated.
Regards,
Narmi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-19-2017 10:23 PM
Hi All
I have used the below sorting script to sort the field in a table. However it doesn't overrides the last sorted order for other users. Please help.
&sysparm_order=number&sysparm_order_direction=asc
Regards,
Narmi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2017 12:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-15-2023 02:57 AM
It is really helpful to me to sort the list view in my required field. Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-20-2017 07:51 AM
Hello Narmi
Your script is working for me. I have checked by impersonating multiple users and tried sorting them by different parameters.PFA
Can you please share a screenshot of your module so that we can take a look.
Please mark my response as correct and helpful if it helped solved your question.
-Thanks