How to show specific column on a variable reference field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 02:51 AM
Hi,
I have a Reference variable on my catalog item. When the user click and try to search he sees the column 'Created'.
I want to show a different column but its not working, what should I do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 03:29 AM
Sorry I didn't understand.
Did you try my previous responses?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 03:37 AM
Hi @Alon Grod To Show multiple field, you need to add them in ref_ac_coloumn section to appear, and searchable.
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 03:40 AM
@Dr Atul G- LNG @Anurag Tripathi
Im trying to show these two columns but it still showing the created. All the the display values are set to false and im trying to use variable attribute:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 03:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2024 03:43 AM - edited 06-19-2024 03:44 AM
1 Field should have display value as true. Do that. This wil be the field that wil show on the referenced field when you have selected the record. Like number shows on Incident/RITM etc.
Then to show another field you can use this in the variable attribute
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=<field 1>;<field2>,ref_ac_columns_search=true
Replace <field 1> with actual field names