Dear All,
I am aware this question is already asked and here are few links which I have referred, But in the below examples I am not sure what exactly should be be Customer, EntityID (which entity??) and I guess EntityName related to entityID.
Does EntityID means from which entity I am opening Email. In my case I am opening Email on Account entity.
Calling function with params
CreateEmailFromTemplate(crmForm.all.customerid.DataValue, templateId, crmForm.ObjectId,
"incident"
);
and called function is below
CreateEmailFromTemplate =
function
(Customer, TemplateId, EntityId, EntityTypeName) {
https://bingsoft.wordpress.com/2010/08/02/create-email-activity-from-template-using-javascript/
*This post is locked for comments