References 

Without providing fixed UIDs, records can be referenced by their identifiers. They follow the scheme {<table_name>:<identifier>:<field_name>} . The field name is optional. If not given, the field uid is used for replacement.

There are some reserved / special identifiers:

  • {variable:<variable-name>} : See variables.
  • {pages:root} : Will be replaced with 0 .
pages:
  - identifier: home
    pid: "{pages:root}"
    sorting: 100
    doktype: 1
    title: Home
    is_siteroot: 1

tt_content:
  - identifier: example
    pid: "{pages:home}"
    CType: header
    header: My example content
    header_layout: 1
Copied!