cancel
Showing results for 
Search instead for 
Did you mean: 

Routing Problem: Automatical switch to the first Page [SAPUI5]

former_member614481
Participant
0 Kudos

Hello,

as the title states, there is the following Problem:

I do have two Pages.

1 Page does have a button which does route to the 2 Page.

with the following Code:

this.getRouter().navTo("secondPage")

Issue: For some reason as you arrive to the 2 Page, it automatically goes back to the 1 Page, without any error.

Question: Why?

Accepted Solutions (1)

Accepted Solutions (1)

former_member614481
Participant
0 Kudos

I have found the solution.

The name of the routing: "secondPage" - should be also be declared in the Detail.controller, so that it can recognize a new routing pattern.

FlorianVogt
Advisor
Advisor
0 Kudos

Hi Roman,
could you share the routing configuration in your manifest.json?
Thanks a lot!

Answers (0)