← All native models

Native model

workspace_related_records

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

Topics: Surfaces

Fields

Shows the records that belong to the selected parent, such as a customer's contacts, in a table, with an optional form for adding one. The parent's identity is filled into that form automatically.

object
asRequired

Name for each item, used to start item paths such as customer.node.name.

string
Minimum length
1
childrenRequired
array
Minimum items
1
Maximum items
9223372036854776000
List items
All of these apply
componentRequired
string
Value
"related-records"
idRequired

Unique identifier: lowercase letters, digits and hyphens, starting with a letter.

string
Minimum length
1
itemsRequired

Path to the list of records in the query result.

string
Minimum length
1
parentArgumentOptional

Query variable or handler input that receives the parent's identity.

string
parentInputOptional

Form input that receives the parent's identity. Required when a form is present.

string
parentStateRequired

State key that identifies the parent record.

string
Minimum length
1
titleRequired

Heading shown to users.

string
Minimum length
1
weightOptional

Share of the space relative to sibling layout elements.

number
exclusiveMinimum
0

Only the fields listed here are accepted.