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).