For the last few days has anyone else been getting the attached server error when updating PCF code components in their Canvas apps?
I've tested with multiiple solution packages and across different envrionments.
At the momemnt, it's not possible to update Apps with newer versions of PCF components.
PCFs in Canvas Apps have had a few issues since their introduction, I am sure you are aware. Did you try just removing the control from your App entirely, then re-adding it? Back when they were first introduced, this is what we had to do in order to update any PCFs in canvas apps.
I'm not seeing any issues, but that doesn't mean much. Have you tried just creating a Hello World PCF and adding that to a Hello World Canvas App to see if you can repro without any of your current App complexities?
Hi @raymartinez ,
I've tried it out, and I get the same error when I try to upgrade a PCF in a Canvas App.
The only way it works for now is:
- open the Canvas App without upgrading the component ("Skip´")
- delete the component from your Canvas App
- close the app
- reopen the App
- import again the PCF in your Canvas App, and use it
PS: Probably won't help you, but who knows: in Custom Pages the upgrade of PCF components works.
Hope it helps!
Nice catch, @DianaBirkelbach! I was testing a custom page not a canvas app. Really interesting that the behavior is different there.
Wonderful news! Thank you @aroudaki 🙏
Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.
Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.
The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.
We are excited to announce a new way to share your ideas for Power Apps!