cancel
Showing results for 
Search instead for 
Did you mean: 

Duplicate values appearing in sap.m.List on binding the odata model to the list in Internet Explorer 11?

Former Member
0 Kudos

Hi,

     I have an master-detail application,Where in I click the submit button in the detail page the list in the master page should refresh and the new data should be added

1)  reading the odatamodel as shown below

                                   oODataModel.read("EntitySet", null, null, false, function(oData, oResponse)

{

                                   oODataModel.refresh(true);

});

2)    sap.ui.getCore().byId("myList_Id").setModel(oOdataModel);


Accepted Solutions (0)

Answers (2)

Answers (2)

karthikarjun
Active Contributor
0 Kudos

Can you please share your project in jsbin or plunkr.

1. if you create new records on db----> Follow .create property in oData model.

2. if new records added successfully----> call the read service and bind the same in control.

Regards,

Karthik A

former_member182372
Active Contributor
0 Kudos

Duplicate values - primary key of odata entry is not unique