cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
liun
Level: Powered On

New/Updated PCF code is not loaded by Dynamics

I might be missing something obvious, but I am having difficulty to get the updated PCF code taking effects. Basically the modification to the code is not been run, Dynamics stuck with an older version. Here is what I have done:

1. Change code in index.ts

2. "npm start" runs fine with new code,

3.  run "npm run build"

4. Increase version number in solution.xml (in the hope of forcing reload)

5. run msbuild in solution folder. (My solution is packed as "managed")

6. import solution in Dyanmics 

7. During import, choose "overwrite customizations"

8. open the form that used the PCF, make a fake change, and publish again (in the hope of forcing reload).

9. clear Chrome cache. 

 

After loading the page, open Chrome developer tools, under pcf_tools_{guid}, the  index.ts still display the old version of the code. The change did not take effects either in the app. 

 

I was able to get new code in previously (might have been using unmanaged solution), but somehow Dynamics just get stuck with the old code now. 

 

Any ideas?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
alchin
Level: Powered On

Re: New/Updated PCF code is not loaded by Dynamics

Did you remember to increment the control version in ControlManifest.Input.xml?

2 REPLIES 2
alchin
Level: Powered On

Re: New/Updated PCF code is not loaded by Dynamics

Did you remember to increment the control version in ControlManifest.Input.xml?

Highlighted
liun
Level: Powered On

Re: New/Updated PCF code is not loaded by Dynamics

That did the trick. Thx!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

SecondImage

PowerApps Monthly Community Call

Tomorrow, September 18th at 8am PDT

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 289 members 5,009 guests
Please welcome our newest community members: