Skip to Content
Former Member
Aug 10, 2017 at 01:08 PM

What are various ways to navigate from sap ui5 custom app to custom fiori launchpad?



I facing an issue while navigating from an app to launchpad screen.

I have a app with multiple views in it, due to which i cannot use windows.history.go(-1) on tap of back button of first view of the application. Instead i am using this code:

var navigationService = sap.ushell.Container.getService("CrossApplicationNavigation"); navigationService.toExternal({target : { semanticObject : "" , action: "" }});

Due to this type of navigation, the launchpad is loading all the groups available for that user on screen. Once a senior member from our time has done some kind of change in launchpad configuration after which all groups were not getting loading on using cross app navigation. He is not in the organization anymore so i need help in finding out as to how to disable loading of all groups without changing the existing code.

And there is one more query as to how do i handle andriod back button press.

I tried using on device ready code in oninit event of controller of this app, but it was throwing error. Can someone please advise on these issues.