Adding and modifying attachments in HTML templates
To add attachments to HTML templates
- Open the AR System Email Templates form in new mode in the Mid Tier.
- From the Template Format menu, choose HTML.
This activates the buttons on the Template Attachments tab to add attachments to your template. - Add a template file as an attachment, and click Save.
- Click the Template Attachments tab, and then the Add Attachment button.
- In the AR System Email Attachments form, select Template from the Type menu.
The AR System Email Attachments form for templates - Right-click in the attachment pool, and choose Add from the menu that appears.
In the Add Attachment dialog box, navigate to the appropriate location and open the file.
The file is added to the list of attachments on the AR System Email Attachments form. If you are using a Windows system, you can also click and drag an attachment to the attachment pool.If you attach multiple images (such as .gif or .jpg files) with a template and use the same name for each image, the Email Enginewill use only the first attachment.
Select the item in the attachment pool, and click the edit button next to the Attachment Name field.
The name of the template attachment is displayed. For example:template_attachment1.htmYou can edit the file name.
If you specify an attachment name that is different from the file name, the attachment does not appear in the email messages based on this template.
For example, if you are attaching the banner1.jpg file and you specify newBanner1.jpg in the Attachment Name field, the image is not visible in the corresponding email messages.- Click Save to close the AR System Email Attachments form.
Your attachment will be added to the list in the AR System Email Templates form. You might need to right-click and select Refresh to see the attachment listed. - Click Save in the AR System Email Templates form.
The Email Enginewill give the template attachment an ID. The Attachment ID field is hidden.
To add a previously saved attachment to your template
- On the Template Attachments tab of the AR System Email Templates form, click the arrow next to the blank field at the bottom of the pane.
- Select the attachment.
- Click the Add Existing button.
Your attachment is added to the list in the attachment pool. - Click Save.
To modify an attachment
- Click the Templates Attachments tab in the AR System Email Templates form.
- Select the attachment you want to modify.
- Click Modify Attachment.
The AR System Email Attachments form opens. - Click Search to locate the attachment.
The attachment appears on the attachment list. - Modify the attachment as required.
You also can modify the Attachment Name. - Click Save.
To delete an attachment
- Click the Attachments tab in the AR System Email Templates form.
- Select the attachment you want to delete.
- Click Delete Attachment.
- Click the Refresh Table button to refresh the table in the Attachments tab.
The attachment is deleted from the list.
To export templates with attachments to another server
- Export the HTML template from the AR System Email Templates form on the source server.
- Import the template into the AR System Email Templates form on the target server.
- Copy the attachments associated with the template from the source server.
- Manually add the attachments to the template in the AR System Email Templates form on the target server.