Skip to Content
1
May 08, 2020 at 04:41 PM

SAPUI5 Navigate back to start page

686 Views

Hi experts!

I am working on an SAPUI5 application in SAP Web IDE and I have two pages, a home page (menu with tiles) and one with a list. To navigate from the home page to the list page, I use:

HomeOffice (Start page):

HomeOffice.view.xml:

HomeOffice.controller.js:

This allows me to navigate from my home page to my list page. Then to navigate from my list page to my home page again, I use:

GestionTareas (List page):

GestionTareas.view.xml:

GestionTareas.controller.js:

This should allow me to return to my home page. When I press the button to go back, the url changes but the list page keeps showing:

This is the URL when I navigate to the list page:

And this is the URL when I press the back navigation button:


Could someone explain to me why this is? Apparently the button works but stays on the same page, also when I navigate back with the browser button (Chrome) I get the same result. I will be grateful for your help.

Greetings from Colombia!