WebAPI

Performing updates using alternate key in Dynamics 365 WebAPI and need to make sure it only updates and doesn’t create new record? Check this one out!

For training and consulting, write to us at info@xrmforyou.com If you have used alternate keys in Dynamics 365 and tried to update using a record using WebAPI alternate key, you know the default behavior of how it works.For example, let’s see the sample code below. // JavaScript source code function UpdateRecord(e) {    var fc = …

Performing updates using alternate key in Dynamics 365 WebAPI and need to make sure it only updates and doesn’t create new record? Check this one out! Read More »

The structure of error response from WebAPI in Dynamics 365/ CDS have changed. The innererror property in the JSON response has been removed. Are you aware of it?

And I just faced this an hour back as I was reviewing a piece of code. Can’t paste the actual code but the code was kind of similar to this. Check for the highlighted part where the code check for innererror property. So if your code is referring to this property it is no longer …

The structure of error response from WebAPI in Dynamics 365/ CDS have changed. The innererror property in the JSON response has been removed. Are you aware of it? Read More »

How to perform executeMultiple using WebApi in Dynamics 365/ CDS

Just another day at office and yet another challenge. Looked a simple one at the beginning. Basically here is the requirement “Multiple create and update operations needs to be performed using Dynamics 365 Web API through client side.” Off-course we can use the Xrm.WebApi.createRecord or Xrm.WebApi.updateRecord but in that case for as many records, those …

How to perform executeMultiple using WebApi in Dynamics 365/ CDS Read More »