Variables & Context

Variables use dot notation to access nested context data.

Variable Paths

Root Objects

entity

Contains entity-level data like names, fields, relations.

field

Available inside field loops, contains field-specific data.

relation

Available inside relation loops, contains relation metadata.

global

Contains system-wide data like templates and utilities.

Simple Variables

Nested Variables

Variable Resolution

  1. Check current scope (field, relation, etc.)
  2. Check parent scopes
  3. Check global scope
  4. Return undefined if not found

Examples

Entity Name

Field Type

Template Metadata