Hide/Remove email box from list type fields - ServiceNow Community
Mark Roethof
Tera Patron
Tera Patron

Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Hi there,

 

While working with fields of type list, you might encounter that these in some circumstances contain an email envelope. You could add email addresses here instead of selecting a reference. Though what if you don't want this email envelope to appear, how to hide/remove this?

Email envelope

The email envelope that we are referring to:

 

find_real_file.png

 

So why does this sometimes appear and why does this sometimes not appear? First, when the list type field has reference table User [sys_user], the email envelope is automatically shown. For other tables, the email envelope is not shown. So this only concerns the User table.

Dictionary Entry Attributes

In some cases, this email envelope will certainly be useful. Though what if you want to hide/remove this? DOM manipulation? No, there's just a dictionary entry attribute available for this: "No email".

 

When opening the dictionary entry for the User list type field concerned (for example, right-mouse-click on the field label, select "Configure Dictionary"), amongst others there is a related list "Attributes". Add a new attribute here, "No email" with value "true".

 

find_real_file.png


Result

When opening your form again, the email envelope now will not be available anymore on your User list type field.

 

find_real_file.png

---


And that's it actually. Hope you like this. If any questions or remarks, let me know!

 

C

If this content helped you, I would appreciate it if you hit bookmark or mark it as helpful.

 

Interested in more Articles, Blogs, Videos, Podcasts, Share projects I shared/participated in?
- Articles, Blogs, Videos, Podcasts, Share projects - Experiences from the field

 

Kind regards,


Mark Roethof

ServiceNow Technical Consultant @ Quint Technology

1x ServiceNow Developer MVP

1x ServiceNow Community MVP

---

LinkedIn

Comments
Padam
Tera Contributor

Hi Mark,

Is it possible to show only email envelope and hide reference to target table?

Thanks,

Version history
Last update:
‎08-16-2024 10:35 PM
Updated by:
Contributors