Search usability can make or break a smooth ServiceNow experience, especially for less experienced users.
To improve type-ahead search, particularly in Catalog Items and Workspaces, consider two impactful configurations:
Display additional fields in type-ahead results
By default, only the display value of a reference field is searched. But you can include additional fields like ZIP code (for location) or email address (for users). To do so, add the following attributes to the reference variable or field:
This makes search results more informative and user-friendly.
Enable “contains” search by default for specific tables
Experienced ServiceNow users start their searches with an asterisk (*) to trigger a “contains” search. For everyone else, you can activate “contains” behavior globally for specific tables by creating a user preference like:
cmn_location.autocomplete.contains = true with an empty user value (to apply it globally).
This enables “contains” search without requiring a leading asterisk.
Ensure that the system property glide.ui.ref_ac.startswith is also set to false. Otherwise, it will override your “contains” settings and still use “starts with” logic.
These enhancements apply across Catalog Items, the Classic UI, and Workspaces and can significantly improve search experience.
Note: Enabling “contains” search may impact performance. Use it selectively on tables where it provides real value to the user experience.
In summary, smart configuration of type-ahead search can greatly improve usability, but always balance that with potential performance impacts.
Improving the Type-Ahead Search Experience in ServiceNow
Search usability can make or break a smooth ServiceNow experience, especially for less experienced users.
To improve type-ahead search, particularly in Catalog Items and Workspaces, consider two impactful configurations:
By default, only the display value of a reference field is searched. But you can include additional fields like ZIP code (for location) or email address (for users). To do so, add the following attributes to the reference variable or field:
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=zip,ref_ac_columns_search=true
This makes search results more informative and user-friendly.
Experienced ServiceNow users start their searches with an asterisk (*) to trigger a “contains” search. For everyone else, you can activate “contains” behavior globally for specific tables by creating a user preference like:
cmn_location.autocomplete.contains = true with an empty user value (to apply it globally).
This enables “contains” search without requiring a leading asterisk.
Ensure that the system property glide.ui.ref_ac.startswith is also set to false. Otherwise, it will override your “contains” settings and still use “starts with” logic.
These enhancements apply across Catalog Items, the Classic UI, and Workspaces and can significantly improve search experience.
Note: Enabling “contains” search may impact performance. Use it selectively on tables where it provides real value to the user experience.
In summary, smart configuration of type-ahead search can greatly improve usability, but always balance that with potential performance impacts.
Categories
Recent Posts
Issue with Account Recovery (ACR) and OIDC
November 25, 2026Experience with ServiceNow Build Agent
November 13, 2026Incident Deflection
November 11, 2026Archives