The move has completed and our new address is https://github.com/kloudingenuity/EmailTemplatesforCustomEntities
Email templates save time when creating multiple email messages. Email templates contain prefilled data that we specify, so we don’t have to reenter the same information again. Specifying dynamic values from out of the box entities is pretty simple
but there are some instances when we might want to add dynamic values for custom entities. To which we don’t have any straightforward approach in CRM as we cannot add custom entity in email template.
This solution is designed to address the above stated problem. It uses Global Templates and a workaround approach to define custom entity attributes within the template. This can be installed using standard CRM import process.
Send Email using the Custom Workflow Activity:
Our solution provides a custom workflow activity “SendEmail” which can be called from any CRM process.
Our solution provides a custom action “kli_SendEmail” which can be called from JavaScript, Plugins, custom applications etc. This action internally uses the same custom workflow activity that described earlier.
Arguments for Action:
This custom action takes three required input arguments. Apart from these three arguments pass Primary entity as Target argument.
Sample JavaScript to define input parameters:
This custom action will return three parameters.