- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
we have a field requested by in catalog item, which which shows user account in catalog item .
Now there are lots of service Account which starts from 0, 1, 2 and FYI.
so i just want to stop showing these account in this field, it will be better if user list will reflect in A to Z order. so that the service account with number will reflect down in that list
I have already tried the ''ref_ac_order_by=name'' in Variable Attributes in variable, but it is not working.
How it will reflect in A to Z order ? Screenshot Attached
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi ,
If the variable points to sys_user, add a qualifier like:
else
Because sorting always puts numbers before alphabets.
- Exclude service accounts using Reference qualifier
- Keep sorting with:ref_auto_completer=AJAXTableCompleter,ref_ac_order_by=nameThanks,Rithika.ch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi ,
If the variable points to sys_user, add a qualifier like:
else
Because sorting always puts numbers before alphabets.
- Exclude service accounts using Reference qualifier
- Keep sorting with:ref_auto_completer=AJAXTableCompleter,ref_ac_order_by=nameThanks,Rithika.ch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
a week ago
Hi @Anuj30
Resolution
The reference list in Service Portal can be configured to be sorted by Order column using the following steps:
- Navigate to the reference variable.
- Go to the Default Value tab.
- In the Variable Attributes field, add the following: ref_ac_order_by=order
- Save and test on Service Portal.
Workaround
Use the attribute [ref_sequence] instead of [ref_ac_order_by].
Replace:
ref_ac_order_by=u_order
With:
ref_sequence=u_order
3)
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti