web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF component in Canva...
Power Apps
Unanswered

PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

(1) ShareShare
ReportReport
Posted on by 2

Existing PCF component which I have extracted and made updates and the changes are not reflecting after deployment. Below are the steps done.

 

• Incremented the control version in Control manifest file

• Incremented the version in Solution file

• Msbuild /t: restore

• Msbuild

• Imported the solution package

• Publish all customizations

• Edit the App Prompts for Update Update successful

• Unable to see the changes (Note: code added in the ts files is not reflecting)

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    3,306 Most Valuable Professional on at

    Hello,

    Try the following in your Custom App:

    1. Delete your custom control from app.

    2. Save and close app.

    3. Open App.

    4. Reimport control.

     

    It worked for me.

  • cchannon Profile Picture
    4,702 Moderator on at

    Yeah, @a33ik is exactly correct. this was a known problem I think 2 years ago and I thought they solved it a long while ago, but I saw the same behavior in a custom page I made a couple weeks ago. You have to remove the control from the canvas app/custom page, save and close, then go back in and re-add it.

     

    Also, with Custom Pages still sometimes (I haven't tested enough to say exactly what conditions cause it) but sometimes when you update the custom page you need to remove from App and re-add to get it to reflect in the UI... Isn't it just like MSFT to create features that require a "turn it off and turn it back on again" solution?

  • Timussch Profile Picture
    4 on at

    Still not fixed. Re-open the canvas app or custom page and you'll get a green notification bar saying the control is updated. Very strange and unwanted behavior.

     

    tmms_0-1661458512784.png

     

  • a33ik Profile Picture
    3,306 Most Valuable Professional on at

    @tmms read my reply. That green bar unfortunately doesn't reflect what is happening in reality.

  • PetrSlachta Profile Picture
    6 on at

    As a better alternative to these headaches I highly recommend usign pac auth which works similary to git push (only your pcf components will be uploaded to dataverse and end up in your solutions). 

     

    setup (only the video): https://dev.to/powerplatform/getting-started-with-the-power-platform-cli-kca

     

    after that you just need to increase the manifest version either manually or by typing: pac pcf version -s Manifest and then run pac pcf push --publisher-prefix your-prefix and pcf components in canvas apps are automatically updated

  • taylorgmojo Profile Picture
    29 on at

    that is totally the right answer, thanks so much!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard