cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
vrparda
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
DianaBirkelbach
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

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

5 REPLIES 5
DianaBirkelbach
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

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

View solution in original post

vrparda
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

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

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 🙂

DianaBirkelbach
Super User
Super User

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

Merry Christmas! 🎄

Kind regards,
Diana
----------
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Users online (1,077)