web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PowerApps Attachment C...
Power Apps
Unanswered

PowerApps Attachment Control Not Working When Copied

(2) ShareShare
ReportReport
Posted on by 7

Issue Description

I'm experiencing a critical issue with the PowerApps attachment control. My older attachment controls are working but when I try to copy and paste one or create a new one using the form trick by stealing one, I no longer get a control that's interactable.


  • Both controls are on the same screen

  • Both controls have identical properties

  • One works perfectly while the other doesn't show the "Attach file" button

Environment Details

  • PowerApps Canvas App (latest version as of May 2025)

  • Using the traditional method of adding an attachment control (adding a form, taking the attachment control, and placing it elsewhere)

What I've Tried

  1. Explicitly setting DisplayMode to Edit on the problematic control
  2. Checking for Z-index issues
  3. Recreating the control from scratch multiple times
  4. Adding a unique Reset variable for each control
  5. Comparing all properties (they're identical)
     

Property Details

 

Here's the non-working control:

- attachmentSHItems_2:
    Control: Attachments@2.3.0
    Properties:
      BorderColor: =If(IsEmpty(Self.Attachments),varSecondaryColor,varPrimaryColor)
      Font: =Font.'Open Sans'
      Height: =100
      HoverBorderColor: =ColorFade(varPrimaryColor,10%)
      HoverFill: =ColorFade(varPrimaryColor,85%)
      ItemColor: =RGBA(255, 255, 255, 1)
      ItemFill: =RGBA(56, 96, 178, 1)
      ItemHoverColor: =varSecondaryTextColor
      ItemHoverFill: =varColorFade35
      MaxAttachmentSize: =15
      MaxAttachments: =10
      PaddingBottom: =5
      PaddingLeft: =If(Self.DisplayMode = DisplayMode.Edit, 5, 0)
      PaddingRight: =5
      PaddingTop: =5
      PressedColor: =RGBA(255, 255, 255, 1)
      PressedFill: =ColorFade(varPrimaryColor, 35%)
      Reset: =varReset
      Size: =10
      Tooltip: =
      Width: =Parent.Width - 40
      X: =30
      Y: =

And here's the working one with identical properties:


- attachmentSHItems:
    Control: Attachments@2.3.0
    Properties:
      BorderColor: =If(IsEmpty(Self.Attachments),varSecondaryColor,varPrimaryColor)
      Font: =Font.'Open Sans'
      Height: =100
      HoverBorderColor: =ColorFade(varPrimaryColor,10%)
      HoverFill: =ColorFade(varPrimaryColor,85%)
      ItemColor: =RGBA(255, 255, 255, 1)
      ItemFill: =RGBA(56, 96, 178, 1)
      ItemHoverColor: =varSecondaryTextColor
      ItemHoverFill: =varColorFade35
      MaxAttachmentSize: =15
      MaxAttachments: =10
      PaddingBottom: =5
      PaddingLeft: =If(Self.DisplayMode = DisplayMode.Edit, 5, 0)
      PaddingRight: =5
      PaddingTop: =5
      PressedColor: =RGBA(255, 255, 255, 1)
      PressedFill: =ColorFade(varPrimaryColor, 35%)
      Reset: =varReset
      Size: =10
      Tooltip: =
      Width: =Parent.Width - 40
      X: =30
      Y: =

 

Impact

 

This is a critical issue as our app relies heavily on file attachments. The traditional PowerApps hack of using a form to get an attachment control has worked for years, but appears to be failing in certain instances now.

 

Questions

 

  1. Has anyone else experienced attachment controls not displaying the "Attach file" button?

  2. Are there any known workarounds for this issue?

  3. Is this a known bug in the latest PowerApps release?


  4.  
 

Any help would be greatly appreciated as this is blocking our deployment.

I have the same question (0)
  • Verified answer
    WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at
    This has been posted multiple times over the last week or so. The easiest workaround is to drag the Attachment Control out of the Form/Data Card onto the screen using the left tree view.
    You can also use one inside a "dummy" form with only the attachment data card and control, a data source of anything containing attachments and the control in New Mode. It will work the same as one outside the form.
     
    Please click 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 giving it a Like.
    MVP (Business Applications)    Visit my blog Practical Power Apps    LinkedIn   
     
     
  • CU22050828-0 Profile Picture
    2 on at
    I have the same problem, and I don't understand the verified anser because the solution seems to be exactly what the original poster says is not working.
  • Bert Jan van der Steeg Profile Picture
    4 on at
    I have the same issue. This used to work until a few weeks ago, not anymore. The AddAttachmentText is not displayed in the control, when that control is copied outside the scope of the form. 
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at
    The difference is the copy and paste (CtrlC & CtrlV) or the built-in Copy and Paste now do not work. You need to drag the Attachment Control out of the Data Card (unlock the card first) to a position directly under the screen name using the left Tree View.
  • AN-04021424-0 Profile Picture
    4 on at
    WOW funny this is used quite a bit... it does look like the answer seems to get the attachment control to work again you paste the form in the screen you are using then drag it up using the nav tree.. Good stuff... never a dull moment. Thanks for posting this!!! hate finding buggy new changes this way!! 
  • WarrenBelz Profile Picture
    153,026 Most Valuable Professional on at
    Just to clarify, you insert the attachment card with the control in it into a form (as you would normally do using Add fields) - you can then drag it out of the card and form onto the screen using the teee view The bug is actually copying the control and getting it back in full.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard