How to display only email address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 10:32 PM
Hi,
I created one catalog item with Email field.
This field reference to the sys_user table, I want to display only email address of the user.
I aware about the display value make it true. But it will be affect globally. So
Is it possible to achieve using catalog client script or any other way? Can anyone suggest here.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 10:43 PM
Hi @PRAGHATIESH S ,
You can create one more variable type-single line text and make it read only. Then you can store the value of email address of the selected user without scripting. This can be workaround.
You can refer how to store email id of user selected in sys_user reference
Auto-Populate Reference data in Service Catalog - ServiceNow Community
If my response helped, please hit the Thumb Icon and accept the solution so that it benefits future readers.
Regards,
Rohit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 10:45 PM
Refer the below link.
Thanks
dgarad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-19-2025 11:04 PM
not possible.
Why not use another single line text variable and auto populate it based on user selected?
you can achieve this without scripting using auto populate feature starting from Utah
Auto-populate a variable based on a reference type variable (Utah)
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Hope you are doing good.
Did my reply answer your question?
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
