cancel
Showing results for 
Search instead for 
Did you mean: 

Skip screen when clicking on web browser back button

0 Kudos

Hello everyone,

I'm currently working on different UI5 applications where i need to skip the create page when clicking on the browser back button.

the scenario that i have is the following : the user navigates to the create page from the worklist , after creating the object , he is redirected to the object description page. When clicking the back button of the browser , we need to skip the create page and get back to the worklist page.

I have used the window.innerDocClick to test it , and even tried deleting the Create page history from the window history cache.

However , even if now i can get back to the worklist page, it still shows to the create page in the process.

is there a better way to manipulate a web browser's back button.

thank you

View Entire Topic
ghoshsayantan3
Explorer
0 Kudos

Hi Rihab,

Have you tried using routers to control this behaviour?

Regards,

Sayantan

0 Kudos

Hello Sayantan,

i'm not exactly sure how routers control the window behavior .

I did try to delete the creation page instance from the history , but that's not doing the job either.

If you have any more insight on this , please help me out.

thank you

Best,