web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Unanswered

Uploading file to sharepoint

(0) ShareShare
ReportReport
Posted on by 934
Hello everyone,


I have a canvas application where users have the option to attach files. I want these files to be stored in a SharePoint list, which acts as a database, without using Power Automate. Then, I would like to have the ability to download them later from the application.
 
How can i do this.
 
Thank you.
I have the same question (0)
  • WarrenBelz Profile Picture
    151,932 Most Valuable Professional on at
    Uploading file to sharepoint
    Hi @gikido,
    If you want to add them as attachments, then a simple attachment control will do the job, however if you want to use a SharePoint Library, you will need a Flow.
    What is it you want to do ?
  • Power Apps 1919 Profile Picture
    1,347 on at
    Uploading file to sharepoint
    Hi @gikido , You can directly save the attachment to sharepoint list from power apps using attachment control and forms .
     
    1.create a form in power apps using the list as data source 
    2. add the attachments column in form fields 
    3. adjust the form mode (new for creation and edit for update of existing)
    4. use submitform() or patch function to save the attachment directly in sharepoint list from power apps
     
     
    for downloading the files , when the form mode is edit , you can click on the attachment present in the control it will download the file
     
  • gikido Profile Picture
    934 on at
    Uploading file to sharepoint
     

    Thank you for your response. What’s essential for me is to store the files and have the possibility to download them later without using Power Automate. As for Forms, I don’t use it; I prefer to use the Patch function with the Attachment control.

     

    Thank you."

  • gikido Profile Picture
    934 on at
    Uploading file to sharepoint
     

    Thank you for your response. What’s essential for me is to store the files and have the possibility to download them later without using Power Automate. As for Forms, I don’t use it; I prefer to use the Patch function with the Attachment control.

     

    Thank you."

  • WarrenBelz Profile Picture
    151,932 Most Valuable Professional on at
    Uploading file to sharepoint
    Hi @gikido,
    You are going to need at least a Form with an Attachment control, but you can use Patch(FormName.Updates) to upload the fiel as an attachment. Downloading can be chieved by simply displaying the attacmnet control and the using clicking on the required file.I am not sure why you do not use SubmitForm - it is really as reliable a doing it manually with a Patch (you are actually using the same function with the Update of the Data Card

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 624 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 384 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 246

Last 30 days Overall leaderboard