clearXMLACache(proxyURL: String, databaseId: String, callbackHandler: Function, cubeId: String, measuresGroupId: String, username: String, password: String)
[starting from version: 2.2]
API call that requests Microsoft Analysis Services to clear the cache. Please visit official documentation from Microsoft for more details.
function clearCache() {
pivot.clearXMLACache(
// replace with your proxyUrl
"https://olap.flexmonster.com/olap/msmdpump.dll",
// replace with DatabaseID
"Adventure Works DW 2008",
function (res) {
// check response
console.log(res);
}
);
}
clearCache();
Open the example on JSFiddle.