- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 03:48 AM
Hello,
The reference field shows the Display Name from table X, as expected, since the Display Name field has Display = true. Without changing this setting, is it possible to use the Name field for the reference field, but only in one specific table?
Thank you and Regards,
Beyza
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 03:53 AM
whatever field is marked with Display=True it will show that value once reference value is selected
Without touching the Display=True at dictionary you can't control what's seen there.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2025 03:58 AM
Hi @beycos
It’s not possible unless the 'Display Name' is set to True. This behavior is by design and is the standard out-of-the-box functionality."
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
07-17-2025 02:27 AM
Hello again Atul,
Currently, in the CMDB table, the "Display Name" field is set to Display = true, and it shows the value in the format (name - company name). However, in table X, I want to use only the name field (not the full display name) in a reference field.
I'm trying to find an alternative solution for this.
I created a new string field and I'm attempting to use a Client Script to populate it with only the part of the reference field's display value up to the first dash (-).
After that, I plan to hide the reference field.
I wrote the following script, but it's not working yet.
Could I get your opinion or suggestions on this?
Thank you
Beyza