Display emails instead of user names in Edit list collection.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 12:20 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 12:38 AM
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-10-2025 12:45 AM
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.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader