on 01-01-2021 9:58 PM
Hi Experts,
When you navigate from one page to another (Ex - Page 2 to Page 3) using the Navigation action, there is a back button that appears automatically. When this is clicked, it takes the user back to the previous page (Page 2) in the navigation stack.
I have a requirement where I need to call this back button from the code. When I call another Navigation action (Page 3 to Page 2) to go back, I am facing few issues when I am trying to navigate back (Page 2 to Page 1) again. It seems like the navigation stack gets overwritten.
Is there a way I can call the automatically appearing back button from the code, without calling another navigation action? Or if not, is there a better alternative to cater this?
Thank you
If are on Page 3 and perform a navigation action to Page 2, your new page stack will be Page 1 > Page 2 > Page 3 > Page 2.
You can use the Close Page action to navigate back (equivalent to clicking the Back button) which will close the current page and return to the previous page in the nav stack. If your page was opened as a model there are additional parameters to the Close Page action which apply to modals.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.