cancel
Showing results for 
Search instead for 
Did you mean: 

Error while creating odata model using OData v4 northwind service

0 Kudos

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

0 Kudos

Hi,

you have any update on your question?

Thank you

sana

Accepted Solutions (0)

Answers (0)