Skip to content
MyAppBuilder
StableData binding

Page parameters

Overview

Values taken from the page's address, such as the id in /customers/:id.

Purpose

Dynamic pages show one record: the Detail View, edit form and related lists all read the record id from the page parameter. Navigation actions fill the parameters when opening the page.

Inputs

  • Data Picker group Page parameters: one entry per parameter declared in the page's route (the group appears only on pages that have parameters).

Configuration

  • Define the route with :name segments (/jobs/:id), then bind Detail Views and filters to Page parameters › id.
  • Templates: {{params.id}}.

Outputs

  • Text values from the URL. A parameter can be linked to an entity in the page settings so the builder knows which record it identifies.

Example

Customer detail page

Example
Page route: /customers/:id
Detail View (Customers) · Record id: Page parameters › id
List (Jobs) · Filter: Customer equals Page parameters › id

Errors

  • If the page is opened without the parameter, the value is empty and data components show their empty state.

Limitations

  • Parameters are always text; compare them with ids or text fields.

Advanced

  • { type: "page_param", key }. Parsed by matchRoute(pattern, path); declared in page.params ({ key, entityId?, required? }).

Related

Was this helpful?