Hi Experts,
I had created a table and then fetch data from xsodata service. I have performed multiple changes in my table and then submit through batch methods. But it doesn't work it shows the following error. please check my code and help me...:)
Error : 2015-12-12 16:34:32 The following problem occurred: no handler for data -
var oChange2 = Model.createBatchOperation("oPath", "PUT", UpdateValue, oData);
var oChange3 = Model.createBatchOperation("oPath", "DELETE", LastName, oData);
//@@@@@@@@@@@@@@//
var oReadOperations = [oChange2,oChange3];
Model.addBatchChangeOperations(oReadOperations);
Model.submitBatch(function(oData){
oModel.refresh();
console.log("success?:" + oData);
},function(err){
alert("error occurred: " + err);
});
}
Thanks & Regards, Lakshman.