is there anyway I can launch the new multi-task enhanced email using Xrm.Navigation.openForm or another method. I I currently launch emails from an onchange event on a case field and pre-populate the template via formparameters but it would be good to use the multi-task capabilities of the enhanced email. Current sample code. function (executionContext){ formContext = executionContext.getFormContext(); var entityFormOptions = {}; entityFormOptions["entityName"] = "email"; // Guid of Email Template formParameters["templateid"] = "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"; formParameters["templateidname"] = "XXXXXXX"; // Open the form. Xrm.Navigation.openForm(entityFormOptions, formParameters).then( function (success) { console.log(success); }, function (error) { console.log(error); }); function (executionContext){ formContext = executionContext.getFormContext(); var entityFormOptions = {}; entityFormOptions["entityName"] = "email"; // Guid of Email Template formParameters["templateid"] = "XXXXXXX-XXXX-XXXX-XXXX-XXXXXXX"; formParameters["templateidname"] = "XXXXXXX"; // Open the form. Xrm.Navigation.openForm(entityFormOptions, formParameters).then( function (success) { console.log(success); }, function (error) { console.log(error); });
↧