Quantcast
Channel: SCN : All Content - SAPUI5 Developer Center
Viewing all articles
Browse latest Browse all 6178

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

$
0
0

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

 

Chung


Viewing all articles
Browse latest Browse all 6178

Trending Articles