Hi,
I've got a form which allows users to attach documents and submit them to a SharePoint list. The file attachment field is nested in a repeating table so that users may upload multiple documents at a time. I use the SubmitToSharePointList command to submit all of the data to the list, but the issue is that all of the attachments are submitted as part of the first item in the repeating table. The table will create a list item for each document the user uploads, but the physical attachments are all attached to the first list item.
Is there a way to have each file attachment be submitted to the associated SP item created by the table?
Could there be a mistake in the command I'm using?:
SubmitToSharePointList /submit=docsubmit /mapping=docmapping /id=my:id /dsname=AddAttachment /xpath= /my:myFields/my:atFields/my:Attachments/my:attachment /uniqueName=yes
I'm using InfoPath 2010, SharePoint 2010 and QRules v5.1.