Global Context

Global context provides system-wide data and configuration.

Global Structure

Template Metadata

System Configuration

Utility Functions

When to Use Global Context

Use global context for:

  • Template metadata and naming
  • System-wide configuration
  • Shared utilities across templates
  • Cross-template references

Example Usage

Global vs Entity Context

  • Entity context - Data about the current entity being processed
  • Global context - System-wide data and configuration

Global context provides the foundation for consistent, system-aware template generation.