Synchronous call from JavaScript to Dynamics 365/ Dataverse Web API using XML HTTP

If you want to call Dataverse/ Dynamics 365 Web API using synchronous calls with XML HTTP object with JavaScript then use the below code and update your code accordingly. The below code snippet checks if a matching enrollment record exist for the same student and course then alerts message and restricts save operation. This function…
Read more