Solved

Save multiple photos (attachments) to a single item in a SharePoint List

  • 2 October 2020
  • 1 reply
  • 129 views

Badge +2

Hi all - I have a NWC form that will be used for an inspection on a mobile phone.  The inspector completes the fields and takes multiple photos using the File Upload field and submits.

 

The form/workflow saves the File Upload contents as a Collection ("Photos"), and I can use Get Item from Collection to save 1 photo as an attachment on my SharePoint List using SharePoint: Add Attachment to an Item. 

 

Just having trouble getting a Loop for Each to work to get ALL of the photos out the original Collection and onto the SharePoint list item.

 

Any suggestions would be appreciated! 

Thanks

Ian

icon

Best answer by stricki 2 October 2020, 03:02

View original

1 reply

Badge +2

Always the way - spend half a day going around in circles, submit question - and then the solution dawns on you 5 minutes later!


 


All I needed to do was move the Get Item from Collection, and SharePoint: Add Attachment to an Item steps inside the loop. The Add Attachment to an Item has an option to Not Overwrite Attachments.


 


Hope this helps someone else. 

Reply