Wednesday 9 October 2019

CLEAR D365 CACHE URL

CLEAR D365 CACHE URL

Below URL can be used to directly flush the cache in D365.

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

Apart from this there are some methods which can be written to clear the caches

private static server void clearServerGlobalObjectCaches()
{
    SysGlobalObjectCache::clearAllCaches();

}

Below table holds the usage data
SysLastValue syslastValue;
    userId  userId = curUserId();

    ttsbegin;
    delete_from syslastValue where syslastValue.UserId == userId;

    ttscommit;

Thanks,
Vikas Mehta.

No comments:

Post a Comment

AZURE INTERVIEW QUESTIONS AND ANSWERS

AZURE INTERVIEW QUESTIONS AND ANSWERES 2021 2. What is cloud computing? Explanation:  It is the use of servers on the internet to “store...