- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hello,
I need to display 2 fields like "number" and "name" in the reference field. So, both are searchable and displayed.
How to achieve that?
I potentially have an answer but want to check and confirm.
By adding the following attributes would display the both fields while searching but not when the value is selected:
ref_ac_columns=number;name,ref_auto_completer=AJAXTableCompleter,ref_ac_columns_search=true
This is for my CSA path.
Thank you for your help in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
You can search on multiple columns on table only 1 field can be marked as Display=true
So once you select record in reference field it will always show that field
💡 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
Hello @Victor10 ,
I'm afraid as a display value for a table you can only select one field/value, however in the attributes of the field you can show more columns or make it searchable for being easier for the User (as your are doing)... But finally you'll show only one value/field
☆ Community Rising Star 22, 23 & 24 ☆
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 hours ago
You can search on multiple columns on table only 1 field can be marked as Display=true
So once you select record in reference field it will always show that field
💡 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
