cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
HelpWithFlows
Frequent Visitor

Power Apps Attachments to Sharepoint List without flows

Hi everyone , I'm in a dead end when trying to save Attachments to SharePoint List Field Attachments. 
Principle of App is that User should take multiple Pictures which saved to different gallery's for example colGalasGallery and saved to ColViskas. 
Attachment Data Card

HelpWithFlows_0-1651063325234.png

 


but there is Runtime Error, all data from Form goes to SharePoint except Attachments.

HelpWithFlows_1-1651063325050.png

 

 



Set( varName1, GUID() ); Collect( colGalasGallery, { DisplayName: varName1 & ".jpg", ID: varName1 & ".jpg", Value: UploadedImage1_1.Image } );

Set( varViskas, GUID() ); Collect( colViskas, { DisplayName: varViskas & ".jpg", ID: varViskas & ".jpg", Value: UploadedImage1_1.Image } );

4 REPLIES 4
HelpWithFlows
Frequent Visitor

up

Dudditz
Continued Contributor
Continued Contributor

I have tried just about every method over the years as this is a very active topic and currently the best option I have tested is using the following guide. 

Power Apps Easiest Way To Upload Files To A SharePoint Document Library (matthewdevaney.com)

 

I have never seen a good solution that works with both lists and libraries, documents, pictures, and even ability to use the camera  without engaging a flow.  The above from my testing covers it all.  Of course at some point I would love to see power apps not need a flow to do these things.

Thanks for answer, I found a solution for picture attachments if you take a photo or selected them from your device. Works flawlessly without any Flows. If you need code i can help you with it 🙂

Dudditz
Continued Contributor
Continued Contributor

I would certainly be interested if it works with libraries.  Many of the existing solutions seem to be based around lists.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on June 15, 2022 at 8am PDT.

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Top Kudoed Authors
Users online (2,616)