Skip to Content
0
Former Member
Aug 03, 2014 at 01:11 PM

/uilib-sample/proxy in the TDG demo

30 Views

Hi all,

I've tried to create the Best Practices Demo as described in https://sapui5.hana.ondemand.com/sdk/#docs/guide/170638b7a2b4424e8580fb473af6a3cd.html in the Developer Guide. However, the code snippet

config : {
            resourceBundle : "i18n/messageBundle.properties",
            serviceConfig : {
                name : "Northwind",
                serviceUrl : "/uilib-sample/proxy/http/services.odata.org/V2/(S(sapuidemotdg))/OData/OData.svc/"
            }
        },

expects /uilib-sample/proxy... to be a valid URL on Hana, but unfortunately, at least in our Hana, it is not. This should work as a proxy to odata.org because direct connection is no allowed due to CORS limitations. Where does /uilib-sample come from, is this some external package or is it part of NetWeaver or similar? Can the demo be constructed without it? Or is it possible to get it somewhere?

Cheers,

-- Micha