
'XrmServiceToolkit.Soap.RetrieveEntityMetadata' makes a synchronous server interaction. It is recommended that you convert this to an asynchronous call or utilize an API that makes an asynchronous call instead.
We are getting the above issue please suggest the required method !!
Thanks!!
Hi Tipu,
I'm unfamiliar with XrmServiceToolkit library. However, I check the description of 'XrmServiceToolkit.Soap.RetrieveEntityMetadata' function:
var retrieveEntityMetadata = function (entityFilters, logicalName, retrieveIfPublished, callback) {
///
This function has a param named callback to indicate this is synchronous/asynchronous. So if you want to make it asynchronous please add this parameter to have a try.