Sunday, August 13, 2017

D365 for Ops System Email Template Setup - HTML vs. XSLT

We were getting an error in a workflow (Root element is missing) that leverages the System email template found in System administration>>Workflow>>Workflow parameters>>Email message. Note the references to HTML in the 'Upload email template' form below.  This would lead one to believe that the template uploaded must be in HTML format.


However, what we found was that during setup of this email template, XSLT was defaulted into the Layout field below.  The problem is, the Layout field is not exposed in this form by default.  We had to personalize the form to add the field.


The cause of the error was the mismatch between the Layout type (XSLT) and the HTML template that had been uploaded.  Once we discovered the mismatch and changed the Layout value to HTML, the email error was resolved.

2 comments:

  1. Your blog is very interesting. Thank you for your sharing this post. I want more information in your blog...!
    Microsoft Dynamics AX Online Training

    ReplyDelete