Skip to Content
0
Jul 19, 2019 at 05:11 PM

sapui5 routing default landing page

375 Views

Hi,

I am working with SAPUI5 routing and navigation (example at

https://sapui5.hana.ondemand.com/#/entity/sap.ui.core.tutorial.navigation/sample/sap.ui.core.tutorial.navigation.05)

This works well if you start with the full address of the index page as the landing page:

http://hanaserver:8000/MainUrl/webapp/index.html

However I want this to also work if I just browse to the main url: http://hanaserver:8000/MainUrl

In other words I want the webapp/index.html to be the default page for http://hanaserver:8000/MainUrl so the user does not need to type the full address to get to the default landing page.

Setting a default page is easy to do in IIS but I can't figure out how to do it in SAPUI5.

I added the following to neo-app.json but it did not help:

"welcomeFile": "/webapp/index.html",
"sendWelcomeFileRedirect": true,

I appreciate any help or thoughts.

Thanks.

Mel