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);