Skip to Content

update in Odata V2 model for batch operation not working

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!!

Sourav

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers