Passing bindings in URL parameters
Using URL parameters to bring information into a screen
Use URL parameters when a list screen needs to open a detail screen for a selected row.
Build the list screen
- Add a Data provider
- Add a Repeater inside the provider
- Nest a Container inside the repeater
- Use bindings from the repeater row to show the values you want
Build the detail screen
- Create a screen at a path such as
/staff/:id - Add a Data provider for the same table
- Filter the provider by
_id - Set empty filter behavior to return no rows
- Disable pagination
- Use
{{ New Data Provider.Rows.0 }}to read the returned row
Navigate to the detail screen
Add an On Click action to the list item or row container.
Use Navigate To and pass the row _id in the URL, for example:
/staff/{{ New Repeater.Employees._id }}
Recommended settings
Use _id rather than a human-readable field such as email.
That keeps the URL stable and avoids guessable values.
Try it out
Updated 4 months ago
What’s Next
Did this page help you?