cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

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
Highlighted
Microsoft
Microsoft

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

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

View solution in original post

2 REPLIES 2
Highlighted
Microsoft
Microsoft

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

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

View solution in original post

Highlighted
Helper I
Helper I

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

That did the trick. Thx!

Helpful resources

Announcements
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Users online (6,181)