Fetch Metadata in CRM 2011 using javascript synchronously -
is there way fetch metadata crm 2011 using javascript in synchronous manner? if is, please hit me sample code present in sdk (i couldn't find it) or maybe own code?
thanks.
in sdk, in samplecode\js\soapforjscript\soapforjscript\scripts\sdk.metadata.js file there retrieveallentitiesasync, retrieveentityasync, , retrieveattributeasync examples. make synchronous, change third parameter of req.open statements false. can remove onreadystatechange handler , handle response after req.send(request); statement.
Comments
Post a Comment