Reference field to search on 'contains'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2014 06:20 AM
I have created a reference field on the change form which relates to the project table.
I would the search on this field to be a contains search rather than starts with.
Can anyone help me achieve this please?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2014 06:45 AM
your users can do this themselves by just typing * at the front of the search.
If you want to change this for everyone, be warned this can cause degradation very large tables in your reference field because imagine doing contains on 'a' that's why I prefer to keep the normal but allow users to use * for CONTAINS
create a global user preference:
Auto-Complete for Reference Fields - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2014 07:33 AM
Introduction to Searching - ServiceNow Wiki
Administrators can add a property to perform a default contains search instead of a greater than search. To make this change, add the property glide.ui.goto_use_contains (it is not available by default) and set the property value to true.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016 05:24 AM
So if I understood that correctly, I need to create a user preference for every single table...? There must be a better way to do this, no?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2016 05:42 AM
mguy is right. You would need to create for each table, as there isn't a universal property to change. However, most just create for the table that you want to search using contains, not every table.