cancel
Showing results for 
Search instead for 
Did you mean: 

problem with cross app back navigation

helmut_sieberer
Participant
0 Kudos

Hello,

I am navigating to a second app with semantic object and intent (action).

That works fine, i read the startup params and can do the right things in the second app.

But the problem is, when I press the standard back button (browser or SAP Header) it sends me back to the first app only with ...flp#semanticObject-intent&/ - but this is not the url from which I called the second app (parameter like customer missing).

So what is the right way to navigate back to my first app. I called the second app with a selected customer in the first app (which works fine), and so I have to restore this when I come back from the second app.

Do I have to make my own button 'back to...' and do another cross app navigation back ?

Do the standard back-buttons not work in cross app navigation ?

Thanks for your help

Helmut

Accepted Solutions (1)

Accepted Solutions (1)

former_member392818
Participant
0 Kudos

Hi Helmut,

Please confirm the steps of the scenario you described.

  1. Within applicationA as initial state, URL : #applicationA
  2. Select one customer A, URL: #applicationA&/***customerA
  3. Navigate to application B (by sap.ushell.services.CrossApplicationNavigation.toExternal ?), URL: #applicationB?parameter=customerA&/***

Please double check your histories by input "window.history.state.sap.history" with console of browser. To check if any history was missing. If not the case, please provide more details about the process of changing URL, thanks!

helmut_sieberer
Participant
0 Kudos

thanks

that window.history.state.sap.history helped

Answers (0)