cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
abennear
Frequent Visitor

Importing new version of existing component

I'm working with another developer on a Power App canvas app. In hopes that we can work on the code at the same time we are using components as suggested in this article:

 

https://powerapps.microsoft.com/en-us/blog/collaborative-development-for-powerapps-canvas-apps/

 

The steps I'm trying are

1) create canvas app, called Main

2) create component in canvas app. The component is called MessageComponent

3) save/publish Main app

4) Save As main app calling new version Branch

5) open branch and make some change to the component, say changing its background color

6) save publish Branch app

7) open Main app and import components from Branch app

 

What I'm expecting is that I will be given the option to replace the MessageComponent component in Main with the MessageComponent in Branch. But instead the MessageComponent in Branch gets imported into Main as MessageComponent_1. So instead of updating Main with the same named component in Branch, I get a new component. If I try deleting the original MessageComponent and then renaming MessageComponent_1 to MessageComponent, I first lose code references to MessageComponent.

 

I have tried doing the import components from an App online and from an export file. 

 

The article on collaborative development says that when importing components, if an incoming component has the same name as an existing component I will be given the option to replace the existing component. But I never see that option.

 

Am I doing something wrong?

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Raza explain how to keep components updated
https://youtu.be/KR9d3meY9BE

View solution in original post

2 REPLIES 2
eka24
Super User
Super User

Raza explain how to keep components updated
https://youtu.be/KR9d3meY9BE

View solution in original post

abennear
Frequent Visitor

That worked. Thank you.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,777)