- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 12:57 PM
I have a reference field that needs to show list data in a pop-up with ascending order sort, I have updated the attribute of the reference field.
is there a way to that we can make the default ascending order for reference pop up?
Solved! Go to Solution.
- Labels:
-
Agent Workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 01:04 PM
Hi Manas,
Have you seen this Community post:
I would assume you could set a user preference for this that is system wide so everyone should get it unless they change it themselves to something else.
The user preference should be
TABLE_NAME.db.order
The value should be the field name to sort on
You can also create a user preference named
TABLE_NAME.db.order.direction
The value should be ASC or DESC depending on if it should sort ascending or descending
Make sure to mark the System checkbox so it becomes systemvide
Example for Incident table
incident.db.order -> value = number
incident.db.order.direction -> value -> DESC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 01:04 PM
Hi Manas,
Have you seen this Community post:
I would assume you could set a user preference for this that is system wide so everyone should get it unless they change it themselves to something else.
The user preference should be
TABLE_NAME.db.order
The value should be the field name to sort on
You can also create a user preference named
TABLE_NAME.db.order.direction
The value should be ASC or DESC depending on if it should sort ascending or descending
Make sure to mark the System checkbox so it becomes systemvide
Example for Incident table
incident.db.order -> value = number
incident.db.order.direction -> value -> DESC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-26-2021 01:07 PM
I tested this for the Caller reference field on Incident:
Then sorted:
It creates the user preference:
Following the steps from the mentioned Community post you can make that a system wide preference by clearing the user and checking the System checkbox.