Skip to Content
0
Aug 12, 2016 at 03:45 PM

SAPUI5 - Delete record in oData error , remove is not a function

694 Views

Hello,

I looked in the forum but I cannot find the answer.

my model oSesModel is linked

oSesModel = oView.getModel("JsonSes");

but I have the error Uncaught typeError: oSesModel.remove is not a function

This function should be available

JsDoc Report - SAP UI development Toolkit for HTML5 - API Reference - sap.ui.model.odata.ODataModel


I see that I have the create and update function but why I don't have the remove function??? How can I have it? I have to delete the record from the oData?

Thank you in advance!

Marie

Attachments

err_remove.JPG (19.4 kB)
metada.JPG (25.1 kB)
remove.JPG (51.5 kB)