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

Upload a document to a SharePoint List in PowerApps

Hi All, I am trying to upload a document to a SharePoint List using a PowerApp. I know that the camera function works within PowerApps, but I would like to attach a screenshot, or an actual document (PDF, PNG, or Word). Users will primarily use this app in the Web view and would be uploading screenshots taken on their computers. 

 

Ideas:

  • Use the attachment control and to upload a document to a collection, then to patch that collection over to a SharePoint List.
  • Use Microsoft Flow - Upload a file to SharePoint from PowerApps
    • However, I would like to note that this flow only works with Camera Pictures.  

 

Does anyone know if there is a solution to this? 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Advocate I
Advocate I

Hi Ryan,

 

I encountered a similar issue with one of my apps I built for my workplace. PowerApps seems to have a few issues with patching attachments over, and using a dual set up with Flow isn't the prettiest of solutions.

 

What I did was used the Edit Form feature within PowerApps, and linked that to the relevant SharePoint list. 

For every text/number/whatever field you want populated in SharePoint, I set the default values of the form to the text input fields I already had within PowerApps, and then hid their visibility. The only field I had left visibile in the form was the attachments field - this works perfectly when submitting the form.

 

So in short - use Forms! 

View solution in original post

2 REPLIES 2
Highlighted
Advocate I
Advocate I

Hi Ryan,

 

I encountered a similar issue with one of my apps I built for my workplace. PowerApps seems to have a few issues with patching attachments over, and using a dual set up with Flow isn't the prettiest of solutions.

 

What I did was used the Edit Form feature within PowerApps, and linked that to the relevant SharePoint list. 

For every text/number/whatever field you want populated in SharePoint, I set the default values of the form to the text input fields I already had within PowerApps, and then hid their visibility. The only field I had left visibile in the form was the attachments field - this works perfectly when submitting the form.

 

So in short - use Forms! 

View solution in original post

Highlighted


@EnergiserFlow wrote:

Hi Ryan,

 

I encountered a similar issue with one of my apps I built for my workplace. PowerApps seems to have a few issues with patching attachments over, and using a dual set up with Flow isn't the prettiest of solutions.

 

What I did was used the Edit Form feature within PowerApps, and linked that to the relevant SharePoint list. 

For every text/number/whatever field you want populated in SharePoint, I set the default values of the form to the text input fields I already had within PowerApps, and then hid their visibility. The only field I had left visibile in the form was the attachments field - this works perfectly when submitting the form.

 

So in short - use Forms! 


Hi @EnergiserFlow 

 

can you please share and show us the formula you use and to what properties it has? 

 

please excuse for my noobility in powerapps.

 

thanks,

pytbyt

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Community Highlights

Community Highlights

Check out the Power Platform Community Highlights

Top Solution Authors
Top Kudoed Authors
Users online (13,146)