Hi guys,
while calling RetrieveAllEntities, RetrieveEntity or RetrieveAttribute we are bothered that the UI seems to freeze while the script looping on _objectifyNode.
We tried to make it Asynchronous by adding setTimeout in the script like this, but it is not helping.
req.onreadystatechange = function () { if (req.readyState == 4) { req.onreadystatechange = null; if (req.status == 200) { setTimeout(function(){ var doc = req.responseXML; try { _setSelectionNamespaces(doc) } catch (e) {} var a = _objectifyNode(_selectSingleNode(doc, "//b:value")); a._type = "EntityMetadata"; successCallBack(a, passThroughObject); }, 100); } else { errorCallBack(_getError(req)) } } };
Is there anything that can we tried? Or is there any fix for this? Thanks for helping.