Friday 26 February 2016

SharePoint Infopath Web Form : Multiple file attachments

Multi file attachment InfoPath

We can only store one file in one File Attachment on an InfoPath form; you cannot attach multiple files in the same File Attachment field.
To create a multi file attachment control in InfoPath, you can make use of a Repeating Table that has a File Attachment as one of its fields.
Perform the following steps to create a multi-file attachment in InfoPath:
  1. Add a Repeating Table with 1 column to your InfoPath form template.
  2. Go to the Data Source task pane and double-click the field under the repeating node for the Repeating Table.
  3. Change the Data type to Picture or File Attachment (base 64) and click OK.
  4. Right-click the field in the Repeating Table on the InfoPath form template, and select Change To, and then File Attachment from the context menu that appears.
Save and publish