The CreatorCon Call for Content is officially open! Get started here.

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

Thank you so much!



I was misunderstanding what I needed to do with AJAXTableCompleter.


edhefford
Kilo Expert

Hi guys,



Is there a way to replicate this to display on the Service Portal?



I am currently only displaying the full name fields on the portal in my reference field, and would love to be able to display the "email" field also (see screenshot below)



It would then show Ed Hefford       Ed@......com.au


Screen Shot 2017-02-01 at 1.38.04 pm.png


Thanks



Ed