Bindings
Every property of a component is either static — a value you type that never changes — or dynamic , a binding that is computed when the page runs: the current record's name, the signed-in user's email, a page parameter, a count of records, or a text template that mixes words and
Every property of a component is either static — a value you type that never changes — or dynamic, a binding that is computed when the page runs: the current record's name, the signed-in user's email, a page parameter, a count of records, or a text template that mixes words and placeholders. Bindings are what make one page work for every record and every visitor.
When to use
Make a property dynamic whenever its value depends on data or context: a heading that greets the user, a card title from the record, a button label that shows a count, a filter value from a search box, a navigation parameter from the clicked row.
Static vs dynamic in the inspector
Bindable properties show a ⚡ icon next to their label in the Content tab.
- Click ⚡ to switch the property to dynamic. The field becomes a template input prefilled with the current text.
- Either edit the template (
Hello {{user.name}}) or open the data picker (⚡ next to the input) and choose a value such as Current record › Name. - Click × to go back to a fixed value.
The Data tab, action parameters, filter values, conditions and navigation parameters use the same value or ⚡ control. See Data picker for every group it offers.
Kinds of dynamic values
| Kind | Example | Where it comes from |
|---|---|---|
| Current record field | Current record › Name | The record of the surrounding list item, table row, detail view or form |
| Current user | Current user › email | The signed-in app user (id, email, name, role, isAuthenticated) |
| Current page | Current page › name | Name, route or id of the page |
| Page parameter / query parameter | Page parameters › id | The address (/:id, ?key=value) |
| App / page / component state | App state › cart, Search box › value | State variables and component state |
| Form field, event, action result | Event › record, Action results › last result id | Inside action lists |
| Database aggregate | Jobs (count) | A count of an entity |
| API result, workflow result | API › Weather | Integrations |
| Text template | {{record.name}} — {{user.email}} | Any combination of the above |
Templates
A template is text with {{ … }} placeholders. Placeholders are simple dotted paths — no formulas or calculations:
Hello {{user.name}} → Hello Anna
Job #{{record.number}} for {{record.customer_name}}
{{params.id}} · {{query.status}} → page and query parameters
{{state.selectedLocation}} → app state
{{pageState.tab}} → page state
{{form.email}} · {{event.value}} · {{result.id}}
{{component.cmp_123.value}} → a component's state by idRecord placeholders use the field key (customer_email, not the label). Missing values render as empty text; lists are joined with commas.
Where bindings are evaluated
Display bindings are evaluated in the browser from data the server already filtered for the user. Queries, aggregates and server actions run on the server with the user's permissions. A binding can therefore never reveal data the role may not read.
Example: a personalised card list
Cards bound to Quotes (Customer Email is Current user › email)
Title: ⚡ Current record › Number
Subtitle: ⚡ template "Valid until {{record.valid_until}}"
Badge: ⚡ Current record › Status
Button "Open" (onClick) → Go to page Quote detail, :id = Current record › idCommon mistakes
- Typing
{{Customer Email}}with the label: use the key:{{record.customer_email}}. - Expecting arithmetic in templates: templates only substitute values; compute totals with aggregates or workflow Set values steps.
- Using Current record outside a list or detail: there is no record in scope; bind the component's Data tab first or place it inside the list.
- Binding a property that is not bindable: only properties with ⚡ accept dynamic values.