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 Apps
Answered

Adding attachments

(0) ShareShare
ReportReport
Posted on by 440

I am wanting to add attachments to a SharePoint list from my Power App. I have watched a few videos and none of them really fit.

One shows copying the attachment control from a form onto the canvas, but I haven't been able to even get past that part.

 

Ideally I want to use the add attachment as it suits the uploads I need, sometimes it can be an image, or pdf other times it may come from the camera control.

Categories:
I have the same question (0)
  • v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @nshaw75,

    I think you just need an Attachment control from a form, and a save button.

    Set the OnSelect property of save button as:

    Patch ( 'Source Data',Defaults('Source Data') , Form1_1 . Updates )
  • Verified answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @nshaw75 

     

    this is the easiest, best  and fastest way to do it if u ask me:

    PowerApps - Patch attachment to SharePoint list (youtube.com)

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • nshaw75 Profile Picture
    440 on at

    Thanks guys @v-qiaqi-msft @mmbr1606 

     

    I have followed the advice and the video. The OnSelect function of my button is as follows

     

    Patch('Permit Tracker', Defaults('Permit Tracker'),
    (
        Title: "TESTING PATCH"
    Form3. Updates );
     
    The SP list updates, with the other records in the form, but the Attachments remain empty 😵
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    the form3.Updates needs to be out side of the curly braces, look at the video again and set the braces correctly, then it should work

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @nshaw75,

    Modify as below:

    Patch('Permit Tracker', Defaults('Permit Tracker'),
    {
        Title: "TESTING PATCH"},
    Form3. Updates )
  • nshaw75 Profile Picture
    440 on at

    Thank you, When I paused the video it was hard to decipher they were curly brackets. I have updated it an I have the attachments. Thanks again guys for the help

  • nshaw75 Profile Picture
    440 on at

    Hi guy's

     

    Thanks again for the help. How would I adjust the formula to update the SP item as opposed to creating a new Item?

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard