How to Add an Extra Parameter to the Search of a Reference Field in ServiceNow


If you want to enhance the functionality of reference fields in ServiceNow by allowing the search for an additional parameter, this article is for you. In this tutorial, we will explore how to customize the attributes of a reference field to improve the search experience and make it more efficient.

Adding an Extra Parameter to the Search of a Reference Field:

To add an extra parameter to the search of a reference field, follow the steps below:

  1. Navigate to the table where you want to customize the reference field and click on the desired field to edit it.
  2. In the “Attributes” field, add the following line:
  • readonly_clickthrough=true: Allows clicking on the reference field to open the referenced record, even if the field is read-only.
  • ref_auto_completer=AJAXTableCompleter: Sets the type of autocompleter to be used in the reference field.
  • ref_ac_columns=serial_number: Adds the “serial_number” column as an additional parameter in the search of the reference field.
  • ref_ac_columns_search=true: Enables the search by previously defined additional columns.
  1. Save the changes made to the reference field.



With these applied customizations, you can now search for an additional parameter in the selected reference field, improving the search experience and making it more efficient. This technique is useful for optimizing how you interact with reference fields in ServiceNow and streamlining the process of finding relevant information.

Leave a Reply

Your email address will not be published. Required fields are marked *