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 : 6+BByV5i1XBtOYem50dgwj
Power Apps - Building Power Apps
Answered

Adding attachments

Like (0) ShareShare
ReportReport
Posted on 28 Apr 2024 10:17:10 by 381

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.

  • nshaw75 Profile Picture
    381 on 29 Apr 2024 at 09:21:13
    Re: Adding attachments

    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?

     

  • nshaw75 Profile Picture
    381 on 29 Apr 2024 at 08:31:38
    Re: Adding attachments

    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

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 29 Apr 2024 at 08:26:39
    Re: Adding attachments

    Hi @nshaw75,

    Modify as below:

    Patch('Permit Tracker', Defaults('Permit Tracker'),
    {
        Title: "TESTING PATCH"},
    Form3. Updates )
  • mmbr1606 Profile Picture
    13,494 Super User 2025 Season 2 on 29 Apr 2024 at 08:24:32
    Re: Adding attachments

    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

  • nshaw75 Profile Picture
    381 on 29 Apr 2024 at 08:21:13
    Re: Adding attachments

    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 😵
  • Verified answer
    mmbr1606 Profile Picture
    13,494 Super User 2025 Season 2 on 29 Apr 2024 at 07:39:32
    Re: Adding attachments

    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

  • v-qiaqi@microsoft.com Profile Picture
    on 29 Apr 2024 at 01:30:05
    Re: Adding attachments

    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 )

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 637 Most Valuable Professional

#2
stampcoin Profile Picture

stampcoin 570 Super User 2025 Season 2

#3
Power Apps 1919 Profile Picture

Power Apps 1919 473

Loading complete