on 05-01-2014 5:43 PM
Hello,
in the SAPUI5 documentation the link to the TDG demo app is down:
https://sapui5.hana.ondemand.com/sdk/test-resources/sap/m/demokit/tdg/index.html
It is in Developer Guide -> Best Practices
Can someone please fix it? Thanks.
Hi,
as I came across the same problem with the SAPUI5 Guide, I changed the URL to the following:
config : {
resourceBundle : "i18n/messageBundle.properties",
serviceConfig : {
name : "Northwind",
serviceUrl : "proxy/http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/"
}
},
This solved the problem for me and I'm can use the OData service now.
Regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Denise and all,
there is a fixed (temporary) version of the TDG app available here now:
https://openui5test.hana.ondemand.com/test-resources/sap/m/demokit/tdg/index.html?responderOn=true
Regards
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
the original one should be running now:
https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/tdg/index.html?responderOn=true
(the fixed version 1.20.7 is now deployed)
Please clear your cache in case it doesn't.
Regards
Andreas
Hi Andreas,
I made the demo till Step 7. The content of the browser looks correct.But I get error messages in Chrome Console:
I guess it's because of the OData URL ...
serviceUrl : "http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/" in Component.js.
I also tried "/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/" but get the same message.
Do you know which URL I have to use?
Thanks.
Regards, Andreas
Hi Andreas,
the first error can be ignored, the app is just checking for an optimized bundle file.
However, I just checked the TDG documentation and am really puzzled about the
serviceUrl : "/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/"
part. This shouldn't be there. It's a reference to an internal test app containing a forwarding proxy.
You can try to temporarily disable the cross-domain checks in Chrome ("disable-web-security") and use the real service URL:
serviceUrl :http://services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/"
That should work.
I asked internally about the docu.
Regards
Andreas
Hi Denise and all,
the TDG app is part of the SDK since 1.20.5, so the link will work once the sapui5.hana... site is updated (the update schedule is not in our hands). The openui5.hana... server (which we control) unfortunately cross-links to sapui5.hana... for the TDG app, so the link also does not work until sapui5.hana is updated, even though the app itself is there: TDG Demo App
And the second issue is that the app does not start because of an error due to a hardcoded internal cross-domain proxy. We are currently switching the app to a mock service, but this will not be part of the 1.20.6 patch (due in the next 1-2 days), but only in 1.20.7.
One could of course locally remove that "/uilib-sample/proxy"... part from the URL and run the app without cross-domain restrictions (--disable-web-security in Chrome) if really eager to see it. Otherwise you'd have to wait two more weeks or so.
Sorry
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also refer to https://github.com/SAP/openui5/issues/52
Release Notes:
- [FIX] Added missing Demo App for TDG
However, the App is down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It would be nice to have a working demo or at least a place to download it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
Would be nice to have the app up and running again,
Regards,
Jeroen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.