`ref_auto_completer` is not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
I have a requirement where typing any name should display search suggestions within the field.
Example:
When typing: "rec"
Show the suggestion: "documentation record"
I am using `ref_auto_completer` for this, but it isn't working when the matching word appears at the end of the phrase; it only works when the text starts with those words.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
it should work fine
Did you give correct field name?
💡 If my response helped, please mark it as correct ✅ and close the thread 🔒— this helps future readers find the solution faster! 🙏
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Check the glide.ui.ref_ac.startswith system property. If it's set to true, ServiceNow will use Starts With matching for reference autocomplete, which can override the field settings. Setting it to false should allow Contains matching, so typing rec can return documentation record.
After changing the property, clear the cache using cache.do and test the field again. If it still only matches from the beginning, ref_ac_columns_search=true on the field may also be worth checking.
