- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 08:10 AM
Hello, I have a reference field in one of my forms called Category Level 2 that points to a custom table x_company_category. That table has a self-reference field called parent.
When I click the lookup icon, I want the popup list to show the current record's name, his parent and the grandparent (parent.parent).
Is it possible to display those columns in the reference lookup popup? If so how? Thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2025 08:29 AM
you can configure the list layout when you click the Magnifying glass and then add the required fields.
But remember this will impact every place where this table is being referred and it will show always those fields in list
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
05-21-2025 08:29 AM
1. Configure the Reference Qualifier View
Go to the Dictionary Entry of your reference field:
Table: the table that uses the x_company_category reference
Field: Category Level 2
In the Attributes field, add or modify the ref_ac_columns attribute:
ref_ac_columns=name,parent.name,parent.parent.name
2. Make Sure Dot-Walked Fields are Readable
The fields parent.name and parent.parent.name are dot-walked references.
Ensure that:
The parent field is a reference to x_company_category
The name field is accessible (either display field or readable)
You test that dot-walking works