E-mail templates can be created using Extensible Stylesheet Language Transformation (XSLT).

Create an e-mail template in XSLT

  1. Create an e-mail ID, and make sure to name the ID so that you can later recognize it, for example, Alert e-mail. For more information, see Create e-mail identifications.

  2. Connect the ID to the Alerts function. For more information, see Define an e-mail identification for Alerts.

  3. In the form, select the field and select a language code.

  4. In the field, enter a sender name that indicates that the purpose of the e-mail message is to send an alert from Microsoft Dynamics AX and in the field, enter a sender e-mail address.

  5. In the lower pane of the form, create records for each language that you need. Once you have created a template in a particular language, users can receive e-mail messages in that language.

  6. For each record (template) enter the following information:

    1. In the field, enter a subject for the template. The subject could include merge data. For more information, see About setting up alert e-mail templates.

    2. In the field, select the layout.

Note Note

Make sure that an e-mail address is defined in the form for the users that need to receive alerts by e-mail. Click Microsoft Dynamics AXmenu > Tools> Optionsto open the form.


Insert links and merge data in the e-mail template

  1. Click the button in the form.

  2. Click the button to load an existing XSLT style sheet, or create your own. For more information about link types and merge data, see About setting up alert e-mail templates.

Note Note

The HTML markup that is created by the XSLT transformation cannot contain a standalone HTML document with <title> ... </title> tags in the <header> ... </header> section.


See Also