StableData binding
Static value
Overview
A fixed value you type in: a label, a number, a colour, a yes/no. It never changes while the app runs.
Purpose
Most properties stay static — the text of a heading, the label of a button, the number of columns. Switch to dynamic data only when the value depends on the user, the record or the state.
Inputs
- Typed directly into the property field; for yes/no and option properties a dropdown is shown.
Configuration
- Any bindable property shows a lightning-bolt button: click it to open the Data Picker and choose dynamic data instead of a fixed value. The chosen source is shown as a chip; the × returns to a static value.
- Compare:
Welcome(static) vsWelcome {{user.name}}(a text template, dynamic).
Outputs
- The value exactly as entered (text, number or boolean).
Example
Static heading
Example
Heading › Text: Our services
Errors
- None.
Limitations
- Cannot reference data. Use a Text template when you need a mix of fixed text and data.
Advanced
{ type: "static", value: unknown }. Empty inputs remove the binding instead of storing an empty string.