How to change display value for a list collector
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
Hi,
For example, I am creating a list collector variable which is referenced to the Project table. Currently, the display value is showing the Project Name (short_description). So,
1. How can I show the Project Number instead of short_description?
2. How can I show multiple display values in the dropdown?
Let me know if anyone could help me, Thanks !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
4 hours ago
you will have to make Dictionary changes in Project table then only it will show Project Number
Note: if you change display value to Number in project table then it will impact everywhere in instance where project table is referred
So I recommend not touching that
-> Instead create multi-line text variable and populate Project numbers for all projects user selects in list collector using onChange catalog client script
this link has solution from Asif
Populate Email Addresses of users selected in List Collector variable to Multi Line Text Variable
To show other fields you can add ref_ac_columns in variable attributes and give the additional fields
See example below for CI table
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=category;serial_number,ref_ac_columns_search=true,ref_ac_order_by=name
Variable attributes sections
Output: I have added category and serial_number as extra fields to be shown along with name
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
