Hi dojo,
I am building an LCA and trying to make the navigation between pages dynamic based on the element selected in a Grid component.
I have a Grid that automatically lists a set of elements, for example 6 elements. When I click one of those elements, I want to open another page within the same LCA and have the components on that page automatically filtered based on the clicked item, for example by using the Element Name or Element ID.
So the flow I want to implement is basically this:
Grid → click an element → open another page → dynamically filter that page’s components
The navigation to the second page is already working correctly. The problem is passing the context of the selected element to that next page.
What I would like to do is click an element in the Grid, capture the selected element, store or pass that value, and use it to filter components on the next page, such as dropdowns, gauges, trend graphs, etc.
I tried doing this using variables, by adding a click action on the Grid to update a variable before opening the next page. I tested both an Element-type variable and a Text-type variable, but in both cases the page opens and the variable does not seem to update based on the clicked item. As a result, the second page opens without the context needed to apply the filters.
My questions are:
- Is this approach supported in an LCA?
- Is there a recommended way to pass the selected Grid item to another page and use it as a filter there?
- If variables are not the right approach, what would be the best way to implement this kind of dynamic behavior between pages?
I added some screenshots below showing the setup I tried.

Thanks in advance.