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 / Attachments for all my...
Power Apps
Answered

Attachments for all my apps just broke!

(0) ShareShare
ReportReport
Posted on by 454
Hello All,
 
I just noticed that my attachment control in all my forms in all my apps has broken. Is anyone else having this issue? I tried deleting the attachment control from my form and adding it back in, still get an error. Any help!
 
I have the same question (0)
  • Suggested answer
    Vish WR Profile Picture
    1,212 on at
     
     

    Can you try changing the reference from YourControlName to YourControlName.Attachments.

     
    Vishnu WR
     
    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 
  • nleuck_101 Profile Picture
    454 on at
    @Vish WR,

    I've tried that. It still gives me the error.
  • Vish WR Profile Picture
    1,212 on at
     
    What is your data source 
  • nleuck_101 Profile Picture
    454 on at
    SharePoint. I just changed the Patch to SubmitForm and that worked but I have other apps where it's not that easy and I can't just SubmitForm.
  • Suggested answer
    Valantis Profile Picture
    3,490 on at
     
    This is a known platform change that broke a very common pattern.
     
    The old trick of adding a form, copying the Attachment control out of it, then removing the form no longer works. The control loses its proper Table(Attachment) type when used outside a form context, which is exactly what that error is telling you.
    The workaround is to keep the form in your app but make it invisible.
     
    Set its Visible property to false and keep it on a hidden screen or behind other controls. The Attachment control needs to stay inside the form to function correctly.
     
    You then reference the form's attachment data from elsewhere in your app via the form's DataCard.
    Ref: https://www.powerapps911.com/post/workaround-for-broken-power-apps-attachment-control
     

     

    Best regards,

    Valantis

     

    ✅ If this helped solve your issue, please Accept as Solution so others can find it quickly.

    ❤️ If it didn’t fully solve it but was still useful, please click “Yes” on “Was this reply helpful?” or leave a Like :).

    🏷️ For follow-ups  @Valantis.

    📝 https://valantisond365.com/

    💼 LinkedIn

    ▶️ YouTube

  • Verified answer
    nleuck_101 Profile Picture
    454 on at
    Here are two solutions that I have found to work.
     
    1. Use SubmitForm. This works for me in some cases.
    2. If using Patch. Remove the Attachment from Patch and add FormName.Updates at the end of the Patch

    Ex. Patch(ListName, Defaults(ListName), { column1: DataCardValue, column2:, DataCardValue, etc...}, FormName.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 516

#2
WarrenBelz Profile Picture

WarrenBelz 450 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 448

Last 30 days Overall leaderboard