cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

PCF - How to update a control?

Currently I am doing some development with PCF for a canvas app. I am creating my component and then build and create package with msbuild commands and uploaded the generated solution *.zip folder the solutions in Power Apps.

 

But when I want to change or update my PCF component, I also change the version(1.1) in control manifest .xml file. And re-build solution but when try to upload it, the portal says that there is already a 1.0 version and does not see my updated version. When I check the *.zip package, the solution version is still 1.0 not 1.1.

 

So how to update PCF control?

2 ACCEPTED SOLUTIONS

Accepted Solutions
Super User
Super User

Hi @vrparda , 

 

The solution version and the PCF manifest version are 2 different issues.

What you increment in the manifest, it won't be reflected in the solution version.

But you should be able to import the solution, even if the solution version is not changed. It should update the PCF, if the manifest version is incremented.

 

If your manifest is 1.1 now, which is the version of the manifest that's already uploaded in your environment? If it's 1.0, it should work. If it's something like 0.x, it won't update the pcf, since only updates to the patch version will be reflected. If you change something else than the patch version, you need to delete the PCF from your environment first, before you install the new version.

 

Hope this helps.

Diana

View solution in original post

Hi @vrparda , 

I've written a blog about PCF versioning: https://dianabirkelbach.wordpress.com/2020/12/23/all-about-pcf-versioning/

Maybe it helps further.

Kind regards,

Diana

View solution in original post

5 REPLIES 5
Super User
Super User

Hi @vrparda , 

 

The solution version and the PCF manifest version are 2 different issues.

What you increment in the manifest, it won't be reflected in the solution version.

But you should be able to import the solution, even if the solution version is not changed. It should update the PCF, if the manifest version is incremented.

 

If your manifest is 1.1 now, which is the version of the manifest that's already uploaded in your environment? If it's 1.0, it should work. If it's something like 0.x, it won't update the pcf, since only updates to the patch version will be reflected. If you change something else than the patch version, you need to delete the PCF from your environment first, before you install the new version.

 

Hope this helps.

Diana

View solution in original post

New Member

Hi @DianaBirkelbach 

 

Thanks for this clear description, it is a little bit clear now.

 

Hi @vrparda , 

I've written a blog about PCF versioning: https://dianabirkelbach.wordpress.com/2020/12/23/all-about-pcf-versioning/

Maybe it helps further.

Kind regards,

Diana

View solution in original post

Waaaowww, thanks a lot... This is a really good source for also all community.

It is like a best Christmas gift for these days 🙂

Super User
Super User

I'm really happy to hear that, @vrparda ! 

Merry Christmas! 🎄

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Users online (39,310)