Can we sort the records in a related list of Incident table in descending order of 'sys_created_on' through "scripting"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2018 06:23 AM
I tried using business rule and client script(OnChange) but the records are not getting sorted.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2018 06:32 AM
You shouldn't need to use a script as you can control the default sort order for a list through the ui. The user will be able to override it with their own preference, though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2018 06:43 AM
Thank you Brad Tilton.I tried to set default sort order using '&sysparm_order=sys_created_on &sysparm_order_direction=desc'.But its not getting sorted.On impersonation also I want the sorting to be reflected.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2018 06:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2020 12:59 AM
Hi Geena,
I hope you have found this already, if not please do refer this link
Regards,
Bala T