Skip to Content
0
Mar 21, 2017 at 01:39 PM

Unable to use Northwind Service on FIORI Launchpad (using Gateway)

307 Views Last edit Mar 22, 2017 at 10:31 AM 4 rev

Hi,

I have developed a UI5 application in WebIDE, where I have hard-coded Northwind Service in controller as follows-

When I deployed this application on Gateway and running it on FIORI Launchpad, then following error is thrown:

Although, SICF service is running fine with this code

Kindly Let me know solution for this.

var URL = "https://services.odata.org/V4/Northwind/Northwind.svc/Products";
var oModel = new sap.ui.model.json.JSONModel(URL);

this.getView().setModel(oModel);

Attachments

error.png (17.9 kB)