Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var url = "proxy/http/services.odata.org/Northwind/Northwind.svc/";
- var oDataModel = new sap.ui.model.odata.ODataModel(url);
- oDataModel.attachRequestFailed(function(e) {
- console.log('request failed');
- });
- this.getView().setModel(oDataModel);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement