Multinode picker not populating when item is not published
I created a datatype base on the multi-node picker with the node selection type set to xpath expression. The node picker is not populated until I publish the item ?
What is the XPath expression you are using? If it uses $currentPage you will get that behavior, because $currentPage doens't exist yet since it's looking for the current page in the Published XML.
However, there are two other variables that you can use:
$ancestorOrSelf or $parentPage (can't remember which is in which version)
Multinode picker not populating when item is not published
I created a datatype base on the multi-node picker with the node selection type set to xpath expression. The node picker is not populated until I publish the item ?
Is there a way to work around this ?
Hi,
What is the XPath expression you are using? If it uses $currentPage you will get that behavior, because $currentPage doens't exist yet since it's looking for the current page in the Published XML.
However, there are two other variables that you can use:
$ancestorOrSelf or $parentPage (can't remember which is in which version)
So you can use something like
$ancestorOrSelf/ancestor-or-self::Home/CaseStudies [@isDoc]
Hope this helps,
Tom
Hi Tom,
That's what I needed
is working on a reply...