Display emails instead of user names in Edit list collection.

RunaliP
Tera Contributor

Hi All,

How can I display the 'Email ID' in the input field instead of 'Name'?

 

When we create a RITM below that you can see approval ,on right hind side u will see Edit Button when we click on that we will able to see collection of user .
so In my case there are multiple user's with same name, I need to display email Instead of User name

2 REPLIES 2

_Gaurav
Kilo Sage

Hi @RunaliP 
For this, you need to go to the sys_user table and change the email field's display value to TRUE and the Name field to FALSE. 

 

NOTE: If you do so the changes will reflect all over the platform wherever the field is referencing to the user table.

 

Please mark as solution and helpful if this resolves your query.

Thanks!

Ankur Bawiskar
Tera Patron
Tera Patron

@RunaliP 

The field on right side is based on the field which is Display=true in sys_user

OOB the name field is shown, but if you want you can make Email field as Display=true but it would be a global impact.

Why not show the email field just below the slushbucket so that user's know the email address of the user selected?

refer this link on how to do that

How to configure the fields shown after clicking an item in a list collector (slushbucket) 

OR Another approach

Why not create a multi-line text variable and store the email addresses based on change in list collector and make that variable readonly?

refer this link for sample script

Populate Email Addresses of users selected in List Collector variable to Multi Line Text Variable 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader