Tuesday, April 27, 2021

D365 FO Cache Clear

There are 2 ways by which you can clear the cache :


1.) Go to chrome and punch in the following URL


https://[AOS NAME].cloudax.dynamics.com/?mi=action:SysFlushAOD




2.) Write runnable class to clear the cache


private static server void clearServerGlobalObjectCaches()

{

    SysGlobalObjectCache::clearAllCaches();

}