Copied to clipboard

Flag this post as spam?

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


  • Jon 38 posts 157 karma points
    Feb 07, 2015 @ 18:02
    Jon
    0

    Making a generic Multinode Treepicker that allows selection of child items

    I want to make a Multinode Treepicker that allows for selection of any child items of the item it is on.

    I expected the following xpath query to work:

    $current/*

    But it always return a blank list.

    I can't find any information on this but someone must have done it before.

    Thanks for any help,
    Jon

  • Dennis Aaen 4500 posts 18255 karma points admin hq c-trib
    Feb 08, 2015 @ 13:25
    Dennis Aaen
    100

    Hi Jon,

    If you just want child items, in the Multinode Treepicker of the item it is on. Then this xpath query should work for you:

    $current

    You can find the documententation for the multinode treepicker for Umbraco 7 here: https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/Built-in-Property-Editors-v7/Multinode-Treepicker

    Hope this helps,

    /Dennis

  • Jon 38 posts 157 karma points
    Feb 08, 2015 @ 19:02
    Jon
    0

    Thanks Dennis, worked like a charm!

Please Sign in or register to post replies

Write your reply to:

Draft