Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 03, 2020 @ 15:44
    Ismail Mayat
    0

    Multi node tree picker xpath

    I am using mntp in v7.15.4 I am using xpath it looks like:

    $current/../../ranks

    So when I create an item that has that mntp then until i publish the item the xpath does not work I just see the whole tree. When I publish the item then use the picker it works. I suspect then the xpath is using xml cache and thus if page is not published then it will not work.

    If that is the case is there alternative picker i can use? Maybe something in nupickers?

    Regards

    Ismail

  • Ismail Mayat 4511 posts 10092 karma points MVP 2x admin c-trib
    Jul 07, 2020 @ 13:50
    Ismail Mayat
    100

    Ok so doing xpath like

    $parent/../regions
    

    is the solution as it resolves even when the current item is not published.

  • 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