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
To pass a property recursive to a macro we should use the [#property] syntax.
I'm using a property that doesn't exist on each node. Will umbraco skip nodes that doesn't have this property and keep looking or will the search stop when the property isn't found on one node?
Yes, as far as I know, Umbraco will travel up the tree to find the first node that has a value for it.
To do it with XSLT (which I know for sure will work), you do this:
<xsl:value-of select="$currentPage/ancestor-or-self::*[normalize-space(PROPERTY_NAME)]/PROPERTY_NAME" />
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted