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 / Attachment from Power ...
Power Apps
Answered

Attachment from Power app not saving to SharePoint list using Patch

(0) ShareShare
ReportReport
Posted on by 19

Hi,
I need you help with a 6 page form am working on in Power apps where I need to attach a file to form 1_5(form 1), on the power apps form to be available on the SharePoint list , all the field of the SharePoint list are updated except for the attachment column that is not showing the attached file on the list, this is the patch command I used, and error received when I hit the submit button:

 

Please is there something am missing in the patch command?

Patch(
'Incident Investigation-Working copy',
Defaults('Incident Investigation-Working copy'),
Form1_5.Updates,
Form1_4.Updates,
Form1_2.Updates,
Form1_6.Updates,
Form1_7.Updates,
Form1_8.Updates
);
Notify(
"Information has been submitted",
NotificationType.Success
);
ResetForm(Form1_5);
ResetForm(Form1_4);
ResetForm(Form1_2);
ResetForm(Form1_6);
ResetForm(Form1_8);
Navigate(General_infor)

 

Form 1_5

dghavban_2-1668524545271.png

 

Submit button with error

dghavban_0-1668530987824.png

 

 

No Attachment:

dghavban_0-1668534653902.png

 


Looking forward to your help and support.

Regards,

 

Dvd

 

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @dghavban ,

    The error is saying you have too many Lookup (complex field type) fields in your SharePoint List - you need to look at that as well as if there are any Attachment Controls on Forms 7 & 8 as they will overwrite anything on 6.

     

    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.

    Visit my blog Practical Power Apps

  • henry_k Profile Picture
    2 on at

    Hello, I'm running into a similar issue where I believe my attachment controls are being overwritten by my other forms when I do a patch form.updates. How would I fix that?

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard