Ui page Reference field issue
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 12:41 AM
i wanted to have this as reference field also should return the matched assets upon autotype each letter and should display like below
Below is my code and the screenshot of Ui page (autocomplete matches was not cming
Code which i am using in Ui page:
<g:ui_reference name="assetLookUp" query="install_statusNOT IN7,8,12^accountISNOTEMPTY^asset_tagISNOTEMPTY" id="assetLookup" table="alm_asset" attributes="ref_ac_columns=asset_tag,ref_auto_completer=AJAXTableCompleter" show_popup="true" show_lookup="true" style="width:50px"/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 01:22 AM
so you have reference field in UI page and you want to search in that with some fields and it should show suggestions?
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-29-2025 01:35 AM
@Ankur Bawiskar yes you are right.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-29-2025 02:42 AM
I believe you can only search on the field which is marked Display=true
I can check if I can find something
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-29-2025 03:06 AM
you can show fields when they type but auto complete won't work on other field other than field marked as display=true
I tried this
<?xml version="1.0" encoding="utf-8" ?>
<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
<g:ui_reference name="caller" id="caller" table="sys_user" columns="user_name;email" ref_ac_columns_search="true" completer="AJAXTableCompleter"/>
</j:jelly>
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