Maksim, I tried to implement your solution, but when I upload the updated app to the cloud, the server gets stuck at "Starting" mode, and then I get error message saying that the app couldn't start.
I have never worked with destinations yet, so I guess you gave your solution assuming I will add the missing parts by myself. Wel, unfortunately for me, this is not the case.
I also tried the following tutorial https://help.hana.ondemand.com/help/frameset.htm?94dddf7d9e56401ba1719b7e836d8ee9.html, but it didn't work either.
This is how I define the destination:
This is the model declaration:
var oModel = new sap.ui.model.odata.ODataModel("northwind/V2/(S(ql0iexfh2tyudc5p4qhx5gdf))/OData/OData.svc");And this is the error message:
If I declare the model like this:
var oModel = new sap.ui.model.odata.ODataModel("/V2/(S(ql0iexfh2tyudc5p4qhx5gdf))/OData/OData.svc");I also get the "not found" error.
What am I missing?
Regards,
Yuri.