Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Nov 14, 2011 @ 17:28
    Dave Woestenborghs
    0

    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 ?

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Nov 14, 2011 @ 17:33
    Tom Fulton
    1

    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

  • Dave Woestenborghs 3504 posts 12135 karma points MVP 9x admin c-trib
    Nov 14, 2011 @ 17:38
    Dave Woestenborghs
    0

    Hi Tom,

    That's what I needed

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies