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 III
Super User III

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

View solution in original post

2 REPLIES 2
eka24
Super User III
Super User III

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
PA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Users online (2,341)