Reference field search display

Ramkumar Thanga
Mega Sage

Hi All,

 

For example, while searching for a user name in a reference field "Caller", it displays only the fields "Name" and "email" as search result. Is it possible to include additional fields in the display. My requirement is to include a custom field from the reference field on the search result. [Name, email, custom field].

 

RamkumarThanga_0-1719557244286.png

 

Thanks!

Ramkumar Thangaraj

1 ACCEPTED SOLUTION

Hi @Ramkumar Thanga 

 

The below video details the desired functionality for your requirement.

https://www.youtube.com/watch?v=wXfHen0ROk0

 

 

Go to the dictionary of the field and look for the attributes field. If you can't find it, click on the Advanced Related link button and the attributes field will be visible. Now paste the below text in the attributes "ref_auto_completer=AJAXTableCompleter,ref_ac_columns=email;department;,ref_ac_columns_search=true"

EswarChappa_0-1719561499053.png

 

 

If there is any existing attribute put a comma ", " and then paste the above text and save.

 

Please mark my response as helpful if it solved your issue

Thanks & Regards,

Eswar Chappa

 

 

View solution in original post

In this ServiceNow Tutorial, Technical Consultant Laurence Tindall gives a demo on How to Display Two Columns in a Reference Field in ServiceNow. ___________________________________________________________________ GlideFast Consulting is a consulting firm dedicated exclusively to ServiceNow. As an
4 REPLIES 4

SN_Learn
Kilo Patron
Kilo Patron

Hi @Ramkumar Thanga ,

 

Click on the search icon(magnifying glass) and then right click at the list and select Configure list layout.

Here, you can add new columns as below:

 

Click below:

SN_Learn_1-1719557961654.png

Then right click on field name select as highlighted:

 

SN_Learn_0-1719557930610.png

 

add the field and save the form.

 

Mark this as Helpful / Accept the Solution if this helps

 

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Ramkumar Thanga
Mega Sage

Hi @SN_Learn 

 

Thank you for the reply. Yes it works as expected  after clicking the search icon(magnifying glass).

But is it possible to add the field without clicking the magnifying glass. For example i want to display the active field next to the email. Pls suggest.

 

RamkumarThanga_1-1719559533773.png

Thanks!
Ram

Hi @Ramkumar Thanga ,

 

Click on the search icon once, copy the url which comes up in the pop up. Paste that in new window and add/remove field(s) as you want.

 

Mark this as Helpful / Accept the Solution if this helps.

----------------------------------------------------------------
Mark this as Helpful / Accept the Solution if this helps.

Hi @Ramkumar Thanga 

 

The below video details the desired functionality for your requirement.

https://www.youtube.com/watch?v=wXfHen0ROk0

 

 

Go to the dictionary of the field and look for the attributes field. If you can't find it, click on the Advanced Related link button and the attributes field will be visible. Now paste the below text in the attributes "ref_auto_completer=AJAXTableCompleter,ref_ac_columns=email;department;,ref_ac_columns_search=true"

EswarChappa_0-1719561499053.png

 

 

If there is any existing attribute put a comma ", " and then paste the above text and save.

 

Please mark my response as helpful if it solved your issue

Thanks & Regards,

Eswar Chappa

 

 

In this ServiceNow Tutorial, Technical Consultant Laurence Tindall gives a demo on How to Display Two Columns in a Reference Field in ServiceNow. ___________________________________________________________________ GlideFast Consulting is a consulting firm dedicated exclusively to ServiceNow. As an