Copied to clipboard

Flag this post as spam?

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


  • Rene N 2 posts 72 karma points
    Sep 22, 2016 @ 11:21
    Rene N
    0

    XPATH multiple selections - MultiNodeTreePicker

    Hello.

    I am currently developing an umbraco application, and wanted to hear. Is it not possible to make an or xpath query?

    Content

    • Boxes

    Project

    • Content
      • Boxes

    I want to make a xpath query on a MultiNodeTreePicker i currently have

    $parent/ancestor-or-self::Project//Boxes and $parent//Content//Boxes

    Each of them works correctly in their separate context, and has a fallback to root, if the folder specified does not exist - but am i not able to combine these, so theres a fallback eg.

    $parent/ancestor-or-self::Project//Boxes|$parent//Content//Boxes

Please Sign in or register to post replies

Write your reply to:

Draft