Fuststraße 18, 55268 Nieder-Olm, Germany +49 176 600 32 119 info@now-success.com

Improving the Type-Ahead Search Experience in ServiceNow

June 27, 2025 admin Comments Off

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:

  1. 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:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=zip,ref_ac_columns_search=true

This makes search results more informative and user-friendly.

  1. 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.