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

How to make Ajax Synchronous call in Dynamics 365 Portal.

$
0
0

Hi All,

I have to get the records from an entity in synchronous mode and based on the output I have to do some set of operations in Portal entity form.

 Ásyn = false' is deprecated so the below code is not getting the result in synchronous mode. 

function getODataResponse(oDataUrl) {
var response = null;
$.ajax({
type: "GET",
url: oDataUrl,
async: false,
dataType: "json"
}).done(function (json) {
response = json.value;
});
return response;
}

Any suggestion please to read the data in sync mode from an entity in Dynamic 365 Portal.

Thanks & Regards,

Nandhini M


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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