We are testing and implementing a pcf component for a canvas app and are experiencing problems when updating the component.
When we install the component for the first time, we are able to import it into our canvas app and use it. After this we save and publish the canvas app.
The problem occurs when we are updating the pcf component (we change the content displayed in our case). After we import the new version of the pcf component in our environment and open our app we still get the old version of the component in our app (it appears the component is cached in the app).
We have tried to do the following to try to update the component in the original app:
- Update version number of manifest, and solution version
- Remove the component, save and publish the app, reopen the app and import the pcf component
- Use of managed solutions (build as release)
None of the above did solve our issue, the old component is used every time. We also tested with a different browsers to exclude browser caching issues.
When we create a new canvas app and import and include the component, it will use the correct component version (until we update the component again).
Has someone experienced this issue before?
Solved! Go to Solution.
Yes this was addressed back then. Are you seeing this repro'ed . Please start a new thread with detailed steps. Please note that the control version needs to be updated in the control manifest to upload the newer control version on the server. Once that is done , reopening the app for editing should prompt maker about the newer control version available.
I get the "Update Code Components" popup, I click on "Update" then a new popup appears saying "Error Opening File".
If I check the log in the browser console, I can see 'errorMessage: "PowerApps control's template is not registered."'.
Check out new user group experience and if you are a leader please create your group
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.
We are excited to announce that Demo Extravaganza for 2021 has started!
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks