I’ve used this configuration before: Instead of using a subpage, you can use 2 groups. Use 1 group for an overview of reports (f.i. a repeating group) and a group for the report details. Make the group report details is not visible on page load:
When you click on a report title in the repeating group, add the report ID to the URL using the “go to page”-action:
Then use the “page is loaded” event together with a couple of actions to hide/show the relevant groups:
First get the report id from the urlinto a custom state “id” using the logic in field Value below:
Second, as long as a user has not clicked on a report title the custom state “id” will be empty so use this to show/hide the repeating group Reports and group Report Details:
You can use this same logic to show/hide the group with the details for a report
The result is that when the page is opened you will see a report overview (notice the URL):
And when a report title is clicked (notice the URL):
- Make sure to activate “collapse group when hidden” in the settings for the 2 groups.
- You might want to look into slugs instead of the report Ids.
- Instead of groups you can also use the example above to go to a specific report page.
- When you want to show the repeating group again, simply use a set state action to empty the state “id”.