2019.2

Table Of Contents
2.
A new script called Attachments has appeared in the list. Double-click to open it.
3.
Choose an Email section from the Section drop-down list.
4. Fill in the different parts of which the file name is composed:
l
Prefix. The first prefix contains the base path (or at least the first, static part of the
path). For example:C:\Attachments\, C:/Attachments/, or
file:///C:/Attachments/.
l
Data field/s. The selected data field/s will be evaluated. If a data field is empty, the
entire row is skipped. Otherwise the prefix, data field value and suffix are added to
the path/file name.
l
Suffix. The suffix on the last used row should contain the file extension, including
the dot (for example.pdf).
For resources inside the template, refer to the folder in the Resources, e.g.
'images/file.extension' , or 'fonts/myfont.otf', etc.
For a file on disk, you can use the file protocol, for example:
file:///c:/somefolder/attachments/INV2018.246.pdf (which equals
file://localhost/c:/somefolder/attachments/INV2018.246.pdf; if the host is"localhost", it can
be omitted).
For a remote file, give the URL (e.g.
http://www.mysite.com/somefolder/attachments/INV2019-246.pdf or
'http://localhost:8080/pod/v1/deliverynotes/{8FCEC8BC-72E8-486B-A206-
516BF10E21F6}').
Note
For attachment names, it is recommended to use only US-ASCII characters. Other
characters may not be supported by all email servers and clients.
5. The attachment's name in the email will be the part of the path that comes after the last '/'.
When there are no forward slashes in the path, the full path is used.
You may want to use a custom attachment name. To learn how to do that, see "Renaming
attachments" on the facing page.
6.
Click OK or Apply to save your changes.
Note that an Attachments script creates one single attachment. To add more attachments, you
could either add Attachments scripts, or click the Expand button and edit the script.
Page 539