Importing a New Envelope Template
Before you import a new envelope template into the PA tool, you must create the XML template. You can not create the XML template from within the Partner Admin Tool.
Use this procedure to import a new envelope template definition that can be applied on your messages.
- On Partner Admin Tool menu, click .
- Click .
- On Create new envelope object window, specify a basic name, description, and select an encoding type.
- Click to import an envelope template.
- Browse to the folder location of the XML envelope template to import. Select the file to import.
- Click .
For an example of XML template envelope including only the "To"
and "From" tags, their values within %
are system variables
used to add system values to the envelope. The message body is included
in the tag: %+THE_PAYLOAD+%
.
<?xml version="1.0" encoding="%+ENCODING+%" ?>
<Envelope xmlns="http://www.lawson.com/MBM"
xmlns:env="http://www.lawson.com/MBM_Envelope"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xsi:schemaLocation="http://www.lawson.com/MBM %+EDITABLE:Schema+%">
<Header>
<env:delivery>
<env:to>
<env:address>%+EDITABLE:To Address+%</env:address>
</env:to>
<env:from>
<env:address>%+EDITABLE:From Address+%</env:address>
</env:from>
<env:identity>%+MANIFEST:ManifestConstants.UUID+%</env:identity>
</Header>
<Body>%+THE_PAYLOAD+%</Body>
</Envelope>