
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
09-20-2020 09:51 PM - edited 08-16-2024 10:35 PM
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:
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!
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? |
Kind regards,
Mark Roethof
ServiceNow Technical Consultant @ Quint Technology
1x ServiceNow Developer MVP
1x ServiceNow Community MVP
---
- 3,021 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Mark,
Is it possible to show only email envelope and hide reference to target table?
Thanks,