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 / [Bug] Copy/paste of co...
Power Apps
Unanswered

[Bug] Copy/paste of component across apps results in error

(0) ShareShare
ReportReport
Posted on by 241

I know components are still marked as 'experimental feature', but thought I should report this issue in case it's not known.


I attempted copying a bunch of controls from one app to another, but then the editor crashed with an error message and the session was aborted. Diving into it further, I noticed the cause of this was the custom component in my copied selection.

 

What I did (stripped down version): 

  • Create a canvas app and enable Components feature
  • Import components from another app (let's call that the source app)
  • Copy some controls from the source app, including a specific component control
  • Paste into the new app

Then it gave me the error.

 

Now when I tried to reproduce this it seems as though it doesn't ALWAYS go wrong, but I'm not exactly sure what the cause is.

 

I've attached two short video captures in a zip file that show the error.

In the first video, you can see me copy/pasting a component in an otherwise empty app. First, this succeeds, but after I delete the control and paste it again, the error occurs.

In the second video, I first import the components from a source app, then attempt to paste a component control into the app and it immediately crashes.

Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @MrNappa 

     

    Yes, I have faced the similar issue before. I guess that the problem occurs due to the way a component is bind to the application, if you just do a copy paste, the bindings are not done properly, which results into errors. I would recommend you to add/import the components from scratch. This feature is currently in Preview so there is not much customization we can do from our side.

     

    Hope this Helps!

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • MrNappa Profile Picture
    241 on at

    Yeah, I'm not sure if this is the right channel to report these issues but it's the only place I have.

    Actually, as far as I could see it seems as though the copy/paste works correctly if the component in question does not exist in the copy target app yet. The paste action will then create the component in the target app AND paste the copied control to the screen. But if the component already exists, the crash occurs(*).

     

    (*)=this behavior is not always consistent however, I've also seen multiple copies succeed, where each paste would create a (duplicate) component in the target

  • Paul_C Profile Picture
    Microsoft Employee on at

    We're sorry to hear you're experiencing an issue, but thanks for reporting it!

    Would you mind grabbing us a session id from a session where this crash occurs?

    You should be able to find the session id in the crash dialog. If not, you can find the session id for your session before the crash following these directions:
    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/get-sessionid#when-editing-an-app

     

    EDIT: never mind, I was able to get the session ids from the videos. We're looking into it. 🙂

     

    Thanks,

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 529 Most Valuable Professional

#2
Haque Profile Picture

Haque 230

#3
Kalathiya Profile Picture

Kalathiya 217 Super User 2026 Season 1

Last 30 days Overall leaderboard