Dear community,
I experience odd behaviour around JS cache and would appreciate your insights.
I moved the topic from the D365 General forum , because hinted it would be more appropiate here.
REQUIREMENT
We have implemented the Extensible control framework and the control is working smoothly in version A (5.7.2). There is a new version B (6.10.2) of the JS components. The JS components of the control should therefore be updated accordingly. The version B is needed to build additional logic (not part of this problem, but justification for the fix).
ISSUE
After replacing the JS components in ...:\AOSService\PackagesLocalDirectory\...\AxResource\ResourceContent\Scripts the old version A of the JS is still loaded while using D365 in my DEV-Box as shown in Google Chrome DevTools --> Tab Sources --> Page --> top --> https://usnconeboxax1aos.cloud.onebox.dynamics.com/ --> resources --> scripts
EXPECTED BEHAVIOUR
New version B should be loaded when using the extensible control in the DEV-Box
RESOLVE ATTEMPS
- Refresh the models
- Full compile
- Full DB sync
- Delete the browser cache
- Restarted the DEV-Box
- Stopped and restarted the IIS
- Started usconebox in an Chrome incognito tab
- Changed browser to Edge, error still reproducable and confirmed via Edge DevTools
FURTHER INFORMATION
I already checked in the code and if was correctly deployed via build server to the testsystem. In the testsystem the JS version was correctly updated as checked from the DevTools. The HTML component of the extensible loads the JS resource without any version reference.
QUESTION
How to correctly load the new JS version in my local DEV-Box?
With kind regards,
Oliver