Setting null for single-valued navigation property using Xrm.WebApi
问题 We are in the process of remediation, re-engineering old JS web resources for latest D365 v9 sdk changes w.r.t Client scripting API improvements & deprecation. When rewriting the web api methods using Xrm.WebApi , we end up with this blocker. The scenario is setting null to lookup, and tried the below code: var data = { "abc_relatedentity@odata.bind": null }; Xrm.WebApi.updateRecord("abc_entity", abc_entityid, data).then(successCallback, errorCallback); This is throwing error: "The 'odata