on 06-28-2016 10:30 AM
Hello Experts,
I am using Local WEBIDE and I have created the SAPUI5 application by select "Project from Template", configured destination in manifest file and neo-app.json files and trying to call OData service through ODataModel in onInIt() method.but not able to get the backend data.
How can I get destination service url into controller ?
Can anyone help me on this.
Below is the code:
Controller.JS
Manifest.json :
neo-app.json
Destination file:
Thanks,
Satya
Hi Jun,
Var oModel = new sap.ui.model.odata.ODataModel("URL");
Even i tried with above also but am unable to get the data from backend.
How we can get service url from destination?
Please suggest me if am wrong.
Thanks and Regards,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please help me how can I get serviceURL from destination and how can I pass that serviceURL to Models for getting the data from back-end, even I am trying for CRUD operations in UI5 app by using WEBIDE.
In eclipse I can able to do CRUD operations successfully but in WEBIDE not able to do CRUD operations.
Thanks,
Satya
Hi All,
Kindly help me on above .
Thanks,
Satya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.