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

  1. Add a Data provider
  2. Add a Repeater inside the provider
  3. Nest a Container inside the repeater
  4. Use bindings from the repeater row to show the values you want

Build the detail screen

  1. Create a screen at a path such as /staff/:id
  2. Add a Data provider for the same table
  3. Filter the provider by _id
  4. Set empty filter behavior to return no rows
  5. Disable pagination
  6. 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


What’s Next

Did this page help you?