Display email along with name on ServiceNow Popup

AmanPratapS7233
Tera Expert

Hi All,

 

When I try to search for a user, it shows only names and this creates an issue if we have users with same names. 

To resolve this, I want to use emails along with names as emails are unique. 

 

Can you guide me on how to achieve this ?

 

Thanks

d88d71cc-e8e1-435c-beea-895cecb9ab38.png

AmanPratapS7233_0-1782803927611.png

 

8 REPLIES 8

Tanushree Maiti
Tera Patron

Hi @AmanPratapS7233 

 

If your issue is on a Service Catalog form (such as a Reference field or a List Collector pointing to the sys_user table),

 add autocomplete attributes to the variable

 

  • Open your Catalog Item and go to the Variables related list.
  • Open the specific User reference or List Collector variable.
  • In the Variable attributes field, paste the following string:

ref_auto_completer=AJAXTableCompleter,ref_ac_columns=name;email,ref_ac_columns_search=true

 

 

Also you can check : KB1123831 Possible issues with duplicate email addresses in [sys_user] table 

 

 

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

This is for worknotes and comments in incidents

 

Jaspal Singh
Mega Patron

Hi,

Where is that you are looking for this? Please share some more details.

This is for classic view comments and worknotes in incidents