Pages

Friday, July 14, 2017

Clear the AOD cache, including the SysExtension cache, from the UI

There is really no place in the UI of "Microsoft Dynamics 365 for Finance and Operations, Enterprise Edition" where you can find a button to clear the AOD cache.

If you for example introduce a new class to an extension based on SysExtension this is a problem, because it wont be picked up until the cache has been cleared.

The earlier workaround doesn't seem to work in the "July 2017" update.

But the class to clear the cache is runable, so you can build a URL to call it:

https://[your AOS].cloudax.dynamics.com/?mi=SysClassRunner&cls=SysFlushAOD

Or just make the URL for the menu item:
https://[your AOS].cloudax.dynamics.com/?mi=action:SysFlushAOD

Big thank you to Volker Deuss for giving me this idea.

No comments: