Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

SDK.Metadata.js _objectifyNode freeze IE11

$
0
0

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.


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>