← All native models

Native model

workspace_state

Declare a named workspace_state value and reference it as workspace_state.your_name. Models have no separate platform identity or lifecycle.

Topics: Surfaces

Fields

Declares a piece of shared state, such as the selected record or a filter value, with its initial JSON value. Queries, lists, filters and forms read and write it by name.

object
componentRequired
string
Value
"state"
nameRequired

Name of the state, used wherever it is read or written.

string
Minimum length
1
valueRequired

Only the fields listed here are accepted.