Auto Complete caller attribute

ghostey
Kilo Explorer

Hi everyone,

Just as a bit of heads up, I am new Service Now management and am just struggling to navigate through some things. One of the things I am trying to figure out is that our Caller field in the incident module can be searched via username or first name. I am just trying to figure out where I can play around with those settings. I am using a link pasted below as a reference for changes I can make. My end goal is to get last names searchable as well in the Auto Completer but I want to see what else I can do for fun. Can anyone tell me where I am supposed to go or provide me with the service now wiki that tells me where to go.

Thanks!

Auto-Complete for Reference Fields - ServiceNow Wiki

1 ACCEPTED SOLUTION

Michael,



I think you're close - the only thing you need to do to a reference field to have it search multiple columns is to set the field's attributes like this:


  1. ref_auto_completer = AJAXTableCompleter
  2. ref_ac_columns = first_name,last_name
  3. (optional) ref_ac_columns_search = true (enables searching on the columns defined in #2).

These are articles which tell you everything you need to replicate the example I show below.


Here's an example of how I configured a hardware reference on Incident to search multiple columns, and how it's configured.


autocomplete.pngattributes.png


View solution in original post

6 REPLIES 6

Srinivas Balusu
Kilo Guru

Are you looking for a practice instance?   If Yes,



Register and login to


https://developer.servicenow.com/app.do#!/home



Under Manage> Request Instance


Srinivas Balusu
Kilo Guru

If you have an instance and finding difficulty to find the Auto-Complete


Then goto


Dictionary Attributes - ServiceNow Wiki



Once you open the dictionary entry of a field, you need to click on related link 'Advanced View' for the 'Attributes' option to be visible on form.


Thanks for your response Srini. I do have a developers instance. Unfortunately your comment tells me I've been working in the right place this entire time and can't figure out how to get it working. I've been working in the Caller dictionary item with a reference type. I added the attribute Reference auto completer columns search with a value of true. I'm thinking that maybe I need to add attribute "Reference auto completer" but the value aludes me for what I should state if I want it to check for First Name, Last Name and Username (which it already does two).



Thanks!


Michael,



I think you're close - the only thing you need to do to a reference field to have it search multiple columns is to set the field's attributes like this:


  1. ref_auto_completer = AJAXTableCompleter
  2. ref_ac_columns = first_name,last_name
  3. (optional) ref_ac_columns_search = true (enables searching on the columns defined in #2).

These are articles which tell you everything you need to replicate the example I show below.


Here's an example of how I configured a hardware reference on Incident to search multiple columns, and how it's configured.


autocomplete.pngattributes.png