Goal: Pass a resource ID as a query param to a multi page app
Steps: Set the query param for each page of the app
Details: When you click from page 1 to page 2 it does a couple of weird redirects, but does end up with the query param in the URL.
On clicking from page 2 back to page 1, the query params are removed
1 Like
Paulo
September 26, 2024, 8:38pm
2
Hi @Michael_Stone , are we passing a value for that param when navigating from page 2
to page 1
?
For example:
On page 2
I have a button with an event handler that sends the value of 1 on navigation:
When we click the button, page 1
opens with the value set above (1):
Looking at the value for `resourceId, it's also 1:
The same applies when going to page 2:
Thanks Paulo! That worked. We were slightly tricked because we were using a side navigation button group to switch between pages and had to use a custom menu item type with a specific click event handler instead of the page menu item type.
1 Like