on 06-23-2016 9:01 AM
hello expert,
I use json model,
and i tested connect to server from local web ide.
And i did not get data. When I used local file url = mode/pull.json it work. When I used url = "http:sap-gwd*************" it is not work.
I think it because I have problem with authentication in server.
When my application is starting i don't get form for enter login and password.
Please tell how you decided it problem.
onInit: function() {
var
// url = "model/pull.json";
url = "http://sap-gwd.****:8060/sap/opu/odata/SAP/Z_RT_SRV/EtSet?$format=json";
var oModel = new sap.ui.model.json.JSONModel( url );
}
it solved.
I use url
url = "http://sap-gwd.***/sap/opu/odata/SAP/Z_RT_SRV/EtSet?$format=json&sap-user=User1&sap-password=Tgdfgdf..."; |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.