Skip to Content

SAPUI5 - Navigate back to Fiori launchpad from custom application

Feb 08, 2017 at 10:34 AM


avatar image


I am stucked with a problem. I am developing a custom UI5 application what is deployed to a Fiori Launchpad - the launchpad is running on a gateway system so this is not a cloud solution.

I have a requirement that say user neeed a Quit button in the application. I know there is a Home button to navigate back to Launchpad but the customer insist to his idea that we need a separated Quit button.

I have found CrossApplicationNavigation solution but it is not working for me because sap.ushell is undefined.

history.goback(-1) is not option in our case bacuse it is not working properly in every case.

Do you know any other solution?

Thank you very much!

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jun Wu Feb 08, 2017 at 03:08 PM

how you integrate your app to flp? is it component based?

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Yes, it is component based and I am using semantic object to navigate into the application.

The URL when application is running like: https://server/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN#ConfirmWork-confirm

And I would like to go back to FLP: https://server/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=100&sap-language=EN

Thank you!


sap.ushell is undefined? are u sure?


Yes, I am sure. I see there is the ushell in the URL so I do not understand why it is undefined.

Istvan Herman Feb 09, 2017 at 09:54 AM

Can I somehow trigger the launchpad homeBtn's event from my controller?

10 |10000 characters needed characters left characters exceeded
Jun Wu Feb 09, 2017 at 05:54 PM


Show 1 Share
10 |10000 characters needed characters left characters exceeded

Something is very strange here.

sap.ui.getCore().byId("homeBtn") is also undefined. I do not know what is going on...