Related Attachments Output List

You can include Salesforce Notes and Attachments that exist on records that are related to the record for which the template is being processed by using the <ol_attachments> tag.

Sytax:


<ol_attachments>
<tr>
<td>
<img src="/servlet/servlet.FileDownload?file={attachmentID}"/>
</td>
</tr>
</ol_attachments>

  • The markup {attachmentID} will resolve to the id of the attachment.
  • The attachments must be of a type that can be displayed in line with other html objects.