- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:07 AM - edited 12-20-2023 04:10 AM
Hello Peeps,
I want to set email id in the name field , currently name field shows the first name and last name, we already have first name and last name fields in the form, name field just takes values from both fields and shows first name and last name combinely.
2. Right click -> configure dictionary -> in the below ss you can check the code is already written in Calculate value to display the first name and last name in name field.
I want to display the email id in the name field instead of first name and last name, is it possible to do?
Let me know if you have answer for this, thanks in advance!
Thank you!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:28 AM - edited 12-20-2023 04:32 AM
If you return the email from the Calculation script then it will set email of the user in the name field.
Please refer following screenshots:
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:12 AM
Greetings!!
You are trying to break the foundation here and it is not recommended. We already have email field as well, why you want to set the name with email field, also OOTB Name has concatenation of FN+LN , so it is not a good way.
What is your use case for this.,
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 04:28 AM - edited 12-20-2023 04:32 AM
If you return the email from the Calculation script then it will set email of the user in the name field.
Please refer following screenshots:
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 06:01 AM
Thank you Pratiksha that's awesome, solution worked, thank you for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 05:12 AM
what point it serves adding email in name field?
Is that a valid business requirement?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader