31 August 2020

D365FO: debugging extensible controls

Developing and debugging of D365FO extensible controls could be tricky, because modern browsers often cache HTML, CSS, JavaScript and other resources. You change your code, hope that the bug is fixed, still browser loads old version of your page and your changes are not there.

It turns out, most of modern browsers have special option to force reload page resources once the page is refreshed.

In Chrome you could find the option in Developer Tools (invoked by pressing F12), on the Network tab. There is a checkbox called "Disable cache". If it's checked, all the page resources will be reloaded from server each time the page is loaded. This option will be in effect only while Developer Tools are still open.