cancel
Showing results for 
Search instead for 
Did you mean: 

How to do Cross Application navigation between Detail Pages?

Jayakrishnan
Active Participant
0 Kudos
365

Hi All,

I am working on Custom SAPUI5 Application Development.

Application 1 - Which is having Display view (Smart Filter and Smart Table) and Detail View (Object List Page)

Application 2 - Which is having Display view ( Filter Bar) and Detail View (Object List Page).

So I have enabled the cross application navigation between these two applications and able navigation successfully.

I need to navigate from Detail page of the Application 1 to Application 2 Detail page. So when i press the back button either FLP Screen or my own back button, it is routing to my Application 1 Display View and going to Detail View.

even i copied the detail page URL with pattern and try to paste in the next tab it is also behaving in the same way.

When i debug, i see the onRouteMatched of my Master Screen triggered then onRouteMatched function of my Detail Screen is triggering.

Example:

App 1 :

Home Screen with route name = home and pattern = " " .

Detail Screen with route name detail and pattern is detail/{ID}.

App 2:

Home Screen with route name home and pattern " ".

Detail Screen with route name detail pattern is detail/{Id}.

My Scenario:

Detail Press Event from App1 - Detail Page:

App1 - detail/{ID} --------> App2 detail/{Id}.

Back button event:

App2- detail/{Id} --------------> home(App1) -------------> detail/{ID}(App2).

it is not appearing for more time but evidently it is displaying the Home and navigating to Detail.

Is this a normal way or should i need to add any code to not behave like this.

Thank you,

Regards,

Jayakrishnan.C

Accepted Solutions (0)

Answers (0)