item_ids required default (none)Long ID (or several IDs joined with a hyphen) of the item(s) at the root of the tree. Short IDs work only inside an item context; in a standalone expression use full 32-character long IDs. With no value the result is empty.
relation_field optional default relation........The relation field whose values link an item to the next level of the tree. By default each item points at its child items through this field.
reverse optional default (empty - forward tree)Set to 1 to walk the tree in the opposite direction: each item points at its parent, so the result is the subtree of descendants under item_ids. A reverse tree is limited to the slice of the starting item. Leave empty for a normal parent-to-child tree.
sort_string optional default (empty - default order)Orders the tree leaves. Either a single field ID, or a sort string such as sort[0][headline........]=a&sort[1][publish_date....]=d (a = ascending, d = descending). Currently takes effect only for reverse trees.
slices optional default (empty - all slices)Restrict the walk to the listed slice IDs (joined with a hyphen). Items in any other slice are skipped, which is useful when a tree spans several slices and you want only one subtree. Empty means all slices are followed.
{treestring:5726c2c6b035d7aab450d1794e9e90d7}
{treestring:5726c2c6b035d7aab450d1794e9e90d7-4f3362a62847fe1f8c59ba28a92d42c0}
{treestring:5726c2c6b035d7aab450d1794e9e90d7:relation.......1}
[{treestring:}]
{treestring:c0ffeec0ffeec0ffeec0ffeec0ffee00}
{treestring:c0ffeec0ffeec0ffeec0ffeec0ffee00:relation........:1}
{itree:{treestring:5726c2c6b035d7aab450d1794e9e90d7}::_#HEADLINE::}
{itree:{treestring:5726c2c6b035d7aab450d1794e9e90d7-4f3362a62847fe1f8c59ba28a92d42c0-ae1da231f3e5bc16496834a0711aa042}::_#HEADLINE:, :}