Skip to Content
0
Former Member
Mar 12, 2015 at 12:55 PM

Can I have a direct link to an xml view within an SAPUI5 app (hosted on HCP)?

97 Views

Hi folks,

I'd like to know the following: Suppose there is an SAPUI5 app hosted on HCP - with a URL like that "app.dispatcher.hana.ondemand.com".

This app has quite some views/controllers in the view folder. The question is if there is a way to provide links to an xml view ("Example.view.xml") directly.

I.e.

app.dispatcher.hana.ondemand.com --> what to add to this URL to call Example.view.xml directly?

(app.dispatcher.hana.ondemand.com/index.html would work, so I assume)

I already have this info but need further advise "It seems possible, but one needs to build the mechanism using the sap.ui.core.routing.Router, and use a hash in the address to load the right view on startup." Hope someone can elaborate and support on this.

Thanks and regards Daniel