AttachmentByDescription tag
Use this tag to insert attachments into an email message.
Synopsis
- AttachmentByDescription::<attFieldName>{::<Pattern>}
Options and arguments
- <attFieldName>
- The name of a field that contains attachments.
- <Pattern>
- An optional regular expression that identifies which attachments to add. Pattern matching is
based on the attachment description. If no pattern is entered, all attachments are added. See
Regular expressions meta characters for more information on regular expressions. See Meta characters in regular expressions for more information on regular expressions.Note: If the target schema uses a version of the HCL Compass attachments package that uses an external storage model, this feature will not work. However, it is possible to include a link to the external storage site.
Examples
This example shows how to include attachments that contain the text TechNote in the Description:
#@AttachmentByDescription::Attachments::TechNote@#
This example shows how to include attachments that contain the text SafeToEmail in the Description:
#@AttachmentByDescription::Attachments::SafeToEmail@#