Skip to Content

update in Odata V2 model for batch operation not working

Sep 09, 2017 at 12:35 PM


avatar image

Hello Experts,

I am trying to update changes using Batch call in Odata V2 model. However it is not working with Update . When tried using createEntry and deleteEntry , its working.

Below is the code which did not work.

var userDetailsItems = this.getView().getModel("SHCPUserDetail").getData().organizationalDetailSet.results; $.each(userDetailsItems, function(i, singleItem) { oModel.update("/organizationalDetailSet", singleItem, {groupId: "mygrpid",changeSetId: "ProductChangeId"}); });

Please help here .

Thanks in advance!!


10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers