Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

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)

  • taylorgmojo Profile Picture
    29 on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

    that is totally the right answer, thanks so much!

  • PetrSlachta Profile Picture
    6 on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

    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

  • a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

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

  • Timussch Profile Picture
    4 on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

    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

     

  • cchannon Profile Picture
    4,702 Super User 2025 Season 1 on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

    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?

  • Verified answer
    a33ik Profile Picture
    3,304 Most Valuable Professional on at
    Re: PCF component in Canvas App doesn’t get updated after successful import and code is not reflecting

    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.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 87 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 71 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 65 Super User 2025 Season 1

Overall leaderboard