Skip to Content
Former Member
Sep 15, 2014 at 02:18 PM

Implementing OData-Service/Netweaver GW-Service into UI5-App


Hello guys!

After struggling with the setup of the Data-Service for my UI5-App, I started to code the User Interface of my app with mock-data (simply mock.json).

Today, I luckily could setup an accessable Odata-Service, but the jump from mock-data to real data is just too big for me now.

Can someone of you give me a guide or example how I replace my existing mockdata with my real data (in form of an url)?

Thanks in advance!

Here is my code so far:

var oModel = new sap.ui.model.json.JSONModel("model/mock.json"); oView.setModel(oModel);

with best regards