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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Push attachments from ...
Power Apps
Answered

Push attachments from powerapps to SharepointList with code

(0) ShareShare
ReportReport
Posted on by 23

I'm making a little app that uploads stuff and I'm trying it to push the attachments to the sharepointlist when a button is pushed (along with some other information).

Knipsel.PNG

'Ziektebriefjes' --> Datasource (SharepointList)
For now the title, date & time entries work fine, but the attachments are empty in the list (not in powerapps).

 

Can anyone help me out?

 

Cheers.

Categories:
  • RusselThomas Profile Picture
    4,014 on at

    Hi maximvanneste,

     

    There may be some constraints that are hindering your attempts.

    From what I recall of the initial release, this only works inside a form, amongst other things.

     

    An alternative might be to use Flow triggered from PowerApps to upload the attachment for you?

     

    Kind regards,

     

    RT

     

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @maximvanneste,

     

    Could you please share a bit more about your scenario?

    Do you want to add a new record with a attachment into your SP list?

    Further, do you want to upload attachments into SP list item using code?

     

    If you want to upload attachments into SP list item using code directly, I afraid that there is no way to achieve your needs in PowerApps currently.

     

    If you would like this feature to be added in PowerApps, please submit an idea to PowerApps Ideas Forum:

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/idb-p/PowerAppsIdeas

     

    I agree with @RusselThomas's thought almost. Currently, if you want to upload attachments to SP list item, I think the Attachments control could achieve your needs, but the upload functionality of this control only works within a form (Please check here). 

     

    More details about the Attachments control, please check the following article:

    Attachments control

     

    In addition, you could also take a try to create a flow (which triggers from an app) to upload an attachment to SP list item. More details about triggering a flow from an app, please check the following article:

    Start a flow from an app

     

    Please check and see if the following blog would help in your scenario:

    https://www.techmikael.com/2017/05/an-even-more-clever-workaround-for.html#comment-form

     

     

    Best regards,

    Kris

     

  • srevoju Profile Picture
    8 on at

    Hi,

    Could you please provide us a solution for uploading attachments to SP List using Patch() in Powerapps.We are using custom form with canvas.

     

    Regards,

    Sandhya 

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard