In Dynamics CRM, you can create entity specific email templates only for the following entities: Account, Contact, Lead, Opportunity, Case, Order, Quote, Invoice, Contract and Service Activity. You can also create a generic global email template.
However, there are many use cases where users need an ability to create and use email templates for other standard entities such as Appointment as well as for custom entities.
You can take advantage of standard CRM dialog as a workaround for these limitations. This solution essentially offers the same capabilities as standard email templates for any standard CRM entity as well as custom entities.
In this example, user wants to send an email to a customer for an existing Appointment. However, user wants to be able to edit the content of the email before sending it. Because you cannot create an email template for the Appointment entity, we will use the following solution which provides the same capability as the email template.
- Create an email.
- Change the status of the email to “Draft”.
- Display a hyperlink to the draft email as the last step. User can click on the link to open the draft email, edit it and then send it to the customer.
When a user runs this dialog on an existing Appointment record, the dialog creates a draft email and displays the link as follows:
You can use this technique for other standard CRM entities as well as custom entities in your solution.