Skip to Content
avatar image
Former Member

Error while creating odata model using OData v4 northwind service

Hi all,

I am tring to create model using OData V4 northwind service and getting below error:

"Uncaught TypeError: this._oMetaModel.getODataEntitySet is not a function"

my Controller code is:

oModel = new sap.ui.model.odata.v4.ODataModel( { serviceUrl : "http://services.odata.org/V4/Northwind/Northwind.svc/", synchronizationMode : "None" });

this.getView().setModel(oModel);

Please help me to find the solution.

Thanks,

Gauri Shinde

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers