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
Suggested answer

How to Patch custom attachment from power apps to sharepoint

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

How can I implement a feature in Power Apps that allows users to upload and patch attachments to a selected record while on the edit screen? Specifically, I want users to select a record from a gallery, navigate to the edit screen where they can modify the record's details, and upload attachments using an attachment control. Once the user uploads the files and saves the changes, the attachments should be patched to the Attachments field of the selected record in the data source. What would be the best way to ensure that the attachments are correctly updated and associated with the record while on the edit screen?

Thanks & Regards,

I have the same question (0)
  • Suggested answer
    Pstork1 Profile Picture
    68,295 Most Valuable Professional on at
    How to Patch custom attachment from power apps to sharepoint
    Without using a Power Automate flow there is no way to directly Patch and attachment in Power Apps.  If you use an Edit form with an attachment control you can add the files to the item by submitting the form. But there is no way to do it using a Patch() statement.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

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 714 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard