Hide/Remove email box from list type fields
Email envelope
The email envelope that we are referring to:
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".
Result
When opening your form again, the email envelope now will not be available anymore on your User list type field.
---
And that's it actually. Hope you like this. If any questions or remarks, let me know!
Kind regards,
Mar k Roethof
ServiceNow Technical Consultant @ Quint Technology
1x ServiceNow Developer MVP
1x ServiceNow Community MVP
---
https://www.servicenow.com/community/developer-articles/hide-remove-email-box-from-list-type-fields/ta-p/2321075
