- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 02:01 AM
Service Catalog :
I reference the location table and the Name attribute is displaying in the drop down. (screen shot below)
Requirement :: When user click on the Location field the drop down should display the Street, Country, ZIp Code etc.. How to Achieve this ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 02:17 AM
I did something similar to reference variable to 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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 02:13 AM
Hi,
To achieve this requirement, you can create a UI Policy on the Location field of your form, which will override the default behavior of the field. Follow the below steps:
- Open the form for the table where the Location field is present.
- Click on the gear icon on the top right and select Configure > UI Policy.
- Click on the New button to create a new UI Policy.
- Enter a name for the UI Policy, for example, "Display Address Details in Location Dropdown".
- Under the Conditions tab, set the condition to "Location is not empty".
- Under the Actions tab, set the action to "Show" and select the fields that you want to display in the dropdown, for example, Street, Country, Zip Code, etc.
- Save the UI Policy.
Now, when the user clicks on the Location field, the dropdown will display the additional fields that you selected in the UI Policy.
Thanks,
Rahul Kumar
Thanks,
Rahul Kumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 02:16 AM
you can add the ref_ac_columns attribute
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=street;country;zip,ref_ac_columns_search=true,ref_ac_order_by=name
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2023 02:17 AM
I did something similar to reference variable to 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
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-13-2025 04:10 AM
Perfect, i was able to adapt this to help with a use case i had that was similar, thank you.