Skip to content

Instantly share code, notes, and snippets.

@smdooley
Created January 19, 2023 10:34
Show Gist options
  • Save smdooley/477a00aebf87838ef9ea9155ccb9f8d9 to your computer and use it in GitHub Desktop.
Save smdooley/477a00aebf87838ef9ea9155ccb9f8d9 to your computer and use it in GitHub Desktop.
Various XPath query examples for Umbraco Multinode Treepicker

Umbraco Multinode Treepicker

Available placeholders

  • $current Current page or closest found ancestor
  • $parent Parent page or closest found ancestor
  • $root Root of the content tree
  • $site Ancestor node at level 1

Examples

$current/ancestor-or-self::blogLandingPage/blogAuthorFolder[1]

$parent/newsArticle

$site/siteSettings/componentRepository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment