javascript - Breeze + OData + MS Dynamics CRM -


i'm trying use breeze 1.4.0 odata managing data operations against ms dynamics crm 2011 odata service.

retrieving data works fine, trying push data doesn't work. tried simple update, breeze fails when reaches second line:

function updatedeletemergerequest(request, aspect, prefix) {         var extrametadata = aspect.extrametadata;         var uri = extrametadata.uri;         if (__stringstartswith(uri, prefix)) {             uri = uri.substring(prefix.length);         }         request.requesturi = uri;         if (extrametadata.etag) {             request.headers["if-match"] = extrametadata.etag;         }     } 

i have debugged through it, , fails because aspect.extrametadata undefined. aspect breeze entity.entityaspect object, doesn't have property.

i have found dataserviceversion used breeze odata 2.0, while 1 odata service @ ms dynamics crm 2011 1.0. i'm not sure if has it. have tried change dataserviceversion breeze 1.0.

any ideas?

thank much.


Comments

Popular posts from this blog

matlab - Deleting rows with specific rules -

jquery - How would i go about shortening this code? And to cancel the previous click on click of new section? -