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
abennear
Frequent Visitor

That worked. Thank you.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

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

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,789)