How do I change the type ahead search from "starts with" to contains?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 11:37 AM
I have a variable that will automatically do a query for starts with when entering in text. I can enter *"text" and it will do a contains search. How do I make this the default search?
- Labels:
-
User Interface (UI)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 12:02 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-30-2015 12:03 PM
Hi Nicholas,
If I understand correctly you wish to use a contains (*) search by default on the reference field shown on your screenshot.
You could try following the following steps from the WIKI: http://wiki.servicenow.com/index.php?title=Auto-Complete_for_Reference_Fields#Contains_Auto-Complete...
- Disable the glide.ui.ref_ac.startswith system property.
- Navigate to User Administration > User Preferences.
- Select the preference "'<referenced table>.autocomplete.contains"'.
- Set the value field to true.
- Log out and log back in to immediately display the updated search.
At step 3 you can create the preference if it does not yet exist, and only apply it for your user if desired.
Is this what you were looking for?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-10-2015 06:29 AM
Have already done that and it works every where else but here its a bit strange.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-23-2020 05:42 AM
Thanks