Specifies the Salesforce IDs of up to 150 attachments that may be appended to a merge process. Specify multiple attachments by separating the Salesforce IDs with commas.
Category: Output Parameter
Compatible with: Composer 8
Parameter Name: AttachmentID
Parameter Value: [Salesforce ID of an object that allows attachments]
Parameter Requirements: None
Parameter Description: AttachmentID specifies the Salesforce IDs of up to 150 static attachments to be included in a single merge process. Additional product data limits apply. Specify multiple attachments by separating the Salesforce IDs with commas.
When you use this parameter, ignores the AttachmentSourceId and SelectAttachments parameters.
Acceptable file types include Excel, PDF, PowerPoint, .PNG, .JPG, and Word.
Use a Qvar to specify multiple Attachment IDs to avoid exceeding URL length limitations. While up to 150 static attachment IDs can be specified, only five appear as selected in the UI Attachments tab. &AttachmentID={Qvar0} can be used as a method to dynamically obtain that ID. The Local Template tab will not work when using this parameter. You must use the TemplateId parameter to specify and select templates.
Example:
&AttachmentId=00P000000004yHQ,00P000000005Ljm