Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2069

Re: GET request Uncaught TypeError

$
0
0

Hi,

 

First, what's the reason using an own ajax call for creating a model?

Second: The baby needs a name.

 

Assuming I understood your goal:

 

var oController = sap.ui.controller("someUniqueName",{     initModel: function() {          return new sap.ui.model.json.JSONModel("http://myHana.de:8015/beta/services/odata/analytics.xsodata?$format=json");     }
});
oController.initModel();

Hope it's helpful

 

Greetz

Silvio


Viewing all articles
Browse latest Browse all 2069

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>