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

Search Reference field like Caller field using email id istead of user name.

anubhavr
Giga Expert

I have a field which is a Reference field to sys_user table. When I search for any user it shows the list of users name and email id. If I want to search using only email ID and location and not its name, how can I do so???

4 REPLIES 4

Chuck Tomasi
Tera Patron

The user's name is going to appear regardless because that is the current display value for all records on that table.



You can search by email and add location as well by modifying the appropriate attributes described here.



Auto-Complete for Reference Fields - ServiceNow Wiki


If I have answered your question, please mark my response as correct so that others with the same question in the future can find it quickly and that it gets removed from the Unanswered list.



If you are viewing this from the community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thank you


Inactive_Us1474
Giga Guru

Hi,



Search via Lookup reference and mention in filters your email id.



Reference Fields - ServiceNow Wiki



Thanks


Hit Like/Helpful/Correct, if applicable.


Brad Tilton
ServiceNow Employee
ServiceNow Employee

I don't know if you can actually get rid of the name without making the email address the display field on the user table, but this article lists just about all the customizations you can make to a reference field around what shows up and what you search.



Auto-Complete for Reference Fields - ServiceNow Wiki