Copied to clipboard

Flag this post as spam?

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


  • Erma Isabel 20 posts 91 karma points
    Nov 19, 2013 @ 13:43
    Erma Isabel
    0

    Dynamic media picker

    Hi all,

    My content node looks like,

    • ProductList
      • Product Category 1
        • Product 1
          • Fruits
            • Fruit 1
          • Colors
            • red
            • blue
        • Product 2
          • Fruits
            • Fruit 2
          • Colors
            • green
            • orange

    In Fruit 1 content, i need a multi-node tree picker, such that there appears only children of corresponding "colors" node(ie, multi-node tree picker with red and blue). Similarly, multi-node tree picker in "Fruit 2" should display only "green" and "blue". How can i make it work?

    I guess it can be done by choosing "XPath Expression", if so what would be the expression to make it work?

    please help, thanks

  • Erma Isabel 20 posts 91 karma points
    Nov 20, 2013 @ 08:08
    Erma Isabel
    100

    I got it working,

    xpath expression i used is, $parentPage/following::*[@isDoc]

    For further reference: http://our.umbraco.org/wiki/reference/xslt/xpath-axes-and-their-shortcuts

Please Sign in or register to post replies

Write your reply to:

Draft