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 / Attaching files to Sha...
Power Apps
Suggested Answer

Attaching files to Sharepoint

(0) ShareShare
ReportReport
Posted on by
I’m building an powerapps application that uses sharepoint as its database. Sharepoint has a build in attachments column.
 
So I unhid the column then I went to to my powerapps audit form and included it in my list of columns to display.
 
In my save button I’m using a "submit form" command. I also went into that column in sharepoint and made sure to “enable” files to be saved to it.

So I get a notification that the file saved. But when I look in sharepoint the file isn’t saving. 
I have the same question (0)
  • Suggested answer
    Sam_Fawzi Profile Picture
    980 Super User 2026 Season 1 on at
     
    The "saved" toast is misleading you , SubmitForm fires OnSuccess when the item commits, which has nothing to do with whether the attachment rode along.
     
    So the record is saving fine; the attachment is being dropped somewhere between the control and the list. Two things to check, in order.
     
    1. Confirm it's actually missing (rule out a false alarm first). SharePoint list attachments don't show up as a column in the default list view,  they're attached to the item and only surface as a paperclip icon that most views hide. Open the actual list item (or add the "Attachments" field to your view) rather than scanning the list grid. A surprising number of these turn out to be saving all along and just invisible in the view.
     
    2. If it's genuinely not there, it's almost always the DataCard binding. When you add the Attachments field to a form, Power Apps generates the card but the Update property doesn't always wire up correctly ,  and SubmitForm silently commits the record without the file when it's blank or wrong. Unlock the Attachments card and confirm all three:
    Card Update: DataCardValueX.Attachments .  note it's the .Attachments property of the control, not just DataCardValueX. This is the one that's usually broken.
    Card Default: ThisItem.Attachments
     
    The attachments control's Items: Parent.Default
     
    Also verify the control sits inside a DataCard within the form, not floating on the screen , the attachment control only uploads/deletes from within a form and SubmitForm only submits what's bound through the form's cards. Per Microsoft's own docs, the control is disabled and non-functional outside a form (learn.microsoft.com → Power Apps → Attachments control).
    Two more worth a glance if the above checks out: make sure attachments are enabled at the list level (List settings → Advanced settings → Attachments: Enabled , this is separate from unhiding the column), and note that some file extensions are blocked by SharePoint's blocked-file-types list at the tenant/site level, which fails silently in exactly this way. If a .jpg saves but a .docx or other type doesn't, that's your culprit.
     
    My money's on the Update property missing the .Attachments suffix . that's the single most common cause of this exact symptom.
  • WarrenBelz Profile Picture
    156,229 Most Valuable Professional on at
    A screenshot of your Form will be useful here - is the attachment control on it ? If you are attaching files to an attachment control on the Form and you have inserted the control in the form in the normal "add field" manner, it certainly should save with SubmitForm.
  • WarrenBelz Profile Picture
    156,229 Most Valuable Professional on at
    A quick follow-up to see if you received the answer you were looking for. Happy to assist further if not.
     
    Please Does this answer your question 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 answering Yes to Was this reply helpful? or give it a Like ♥
    Visit my blog
    Practical Power Apps    LinkedIn   

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 353 Most Valuable Professional

#2
11manish Profile Picture

11manish 150

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 68 Super User 2026 Season 1

Last 30 days Overall leaderboard