Copied to clipboard

Flag this post as spam?

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


  • Jules 269 posts 560 karma points
    May 02, 2014 @ 13:04
    Jules
    0

    Mulit-node tree picker xpath filter by doctype

    Umbraco 6.1.6 - Multi-node tree picker

    I have a multi-site install and I am trying to create an MNTP so that it selects only nodes with a doctype of News.

    News nodes can appear at various levels within each site (as below) and users should be able to select a news node from any site.

    Content
      Site1
        News
      Site2
        Stuff
          News
      Site3
        News

    So how would I set up the xpath / filter in the Multi-Node tree picker to do this - is it possible?

    Jules

     

     

  • MK 429 posts 905 karma points
    May 04, 2014 @ 22:56
    MK
    2

    Hi,

    You cant show only the news items with MNP (unless there are under the same parent node) but you can filter it so it will be the only option to select:

    Xpath filter: /*[self::News]

  • Jules 269 posts 560 karma points
    May 05, 2014 @ 14:47
    Jules
    0

    Thanks - I have used this to good effect

    J

Please Sign in or register to post replies

Write your reply to:

Draft