logo

NJP

Add/Remove email client to forms

Import · Sep 07, 2020 · article

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

Hi there,

Ever wondered why sometimes there is, and sometimes there isn't an email client available on forms? Or more specifically it is available for example in Incident [incident], though not for Stories [rm_story]? What can we do about this, to activate the email client on Stories, or to deactivate the email client on Incident?

Email client

The email client we are referring to:

image

Dictionary Entry Attributes

In some cases, the email client will certainly be useful and in some cases certainly not. So what if we want to add/remove this? DOM manipulation? When searching the Community, you will find some (working) answers to do so. Though... there's just a dictionary entry attribute available for this: "Email client".

When opening the dictionary entry of type Collection for the table concerned, amongst others there is a related list "Attributes". Add a new attribute here, "Email client" with value "true" (or if you wish to remove this change the value to "false").

image

image

Results

When opening your form again, the email client now will be available if you added the email client attribute (or it will not be available anymore if you have disabled the attribute).

image

image

---

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

---

LinkedIn

image

View original source

https://www.servicenow.com/community/developer-articles/add-remove-email-client-to-forms/ta-p/2313766