Skip to Content
0

Error while creating odata model using OData v4 northwind service

Feb 07, 2017 at 09:14 AM

74

avatar image
Former Member

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

10 |10000 characters needed characters left characters exceeded
Former Member

Hi,

you have any update on your question?

Thank you

sana

0
* Please Login or Register to Answer, Follow or Comment.

0 Answers