Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am creating a data type using the multinode tree picker.
The id of the parent node for the content items is a property of the $site node.
The Node Type Property is set to Content and I'm using Query for node using xpath.
Is there a way to use a value of another node in the tree to use as the value of the parent of the nodes that I want to select from?
The following does not work I was hoping:
descendant::*[@id=1089]/ancestor-or-self::*[@level = 1]/descendant::*[@id=string(descendant::*[@id=1089]/ancestor-or-self::*[@level = 1]/staffProfiles)]
$site = descendant::[@id=1089]/ancestor-or-self::[@level = 1]
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted