Hi,
In the Web UI, calling CRUD Opertaions via Xrm.WebApi is successfully working. When I trigger this script in Unified Interface, it is not working. Anyone has this kind of experience?
Xrm.WebApi.retrieveRecord("<entityname>", entityId).then(function (data) {//do something}, function (err) {//dosomething});
Thank you.