Creating custom e-mail template

E-mail templates enable you format e-mail messages. The E-mail node receives XML data and merges it with the XSL template you specify. You can configure an E-mail node in the Service Builder to use an e-mail template.

About this task

To create and use a custom e-mail template:

Procedure

  1. Copy the <runtime_sandbox>/repository/xapi/template/merged/email/orders_mail.xsl template file.
  2. Modify the file as needed, rename it, and save it within the <runtime_sandbox>/extensions/global/template/xsl/CUSTOM-TEMPLATE-XSL directory. You can save it to another directory, but using the standard directory structure supplied by the Sterling™ Order Management System helps ensure consistency.
  3. From the Service Builder, configure an E-mail node to use your custom e-mail template. In the Body Template field specify /template/xsl/CUSTOM-TEMPLATE-XSL.

    Note that using the <runtime_sandbox>/repository/xapi/template/merged/email/file_name.mlt file with Actions to accomplish the same purpose has been deprecated as of Release 5.0. Use the E-mail node and an XSL file instead.