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 / Patch entire Form with...
Power Apps
Answered

Patch entire Form with Attachment to SP how?

(0) ShareShare
ReportReport
Posted on by 1,994

Hi 

 

I have a form with attachment - how to patch the entire form with attachment into SP list?  Is it in default - Patch(list, default list, form1)? 

 

I don't want to use submit as I have a datacard that the user need to input with the patched record to be submit for approval with workflow.

 

I think Patch will be the answer for first submit to SP , right?  Thanks

 

Regards

Categories:
  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    Hi @bbsin ,

    An attachment cannot be Patched from a control to SharePoint - you either use SubmitForm() or possibly quite complex JSON conversion then a Flow.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • bbsin Profile Picture
    1,994 on at

    oh no.. is there a video tutorial of this  JSON to follow to create it? ?? need it into my SP.....thanks

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @bbsin ,

    Seriously, why do you want to do this? I would not consider attempting it (and never have) when you can simply put a Form on the screen (you can have only one field - the Attachment Control), then (if you must) do the Patch on the OnSuccess of the Form using Self.LastSubmit.ID as the target item.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

    Hi @bbsin :

    Please try this formula:

    Patch(SPList,Defaults(SPList),Form1.Updates)

    Best Regards,

    Bof

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @bbsin ,

    @v-bofeng-msft is correct here - I do not use the function, so forgot about the additional feature on attachments.

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard