Copied to clipboard

Flag this post as spam?

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


  • Luis Pedro 29 posts 151 karma points
    Dec 03, 2019 @ 15:40
    Luis Pedro
    0

    XPATH not working in MultinodeTreePicker ... but works inside the view.

    Hi there.

    I'm trying to get some filtered documents to my multinodetreepicker, using an XPATH expression, but it tends not to work... althoughenter image description here that same expression it's working when fetching the documents inside one view.

    I have a list do documents with some boolean (checkbox/yes-no) properties, and I want to filter based on each value, it also work based on something (a tag) contained in a textstring property, but neither one of my three expresions work in the multinode filter.

    What could be wrong?

    PS: I am able to have the picker working if my expression doesn't contain the ending /* and the filter [], but then I get all the documents which I don't want.

    Attached, image with document definition, other images with results and view code will follow as comments to this post.

    TIA /Luis

  • Luis Pedro 29 posts 151 karma points
    Dec 03, 2019 @ 15:41
    Luis Pedro
    0

    This is the sample code in the view to fetch the documents via XPATH

    enter image description here

  • Luis Pedro 29 posts 151 karma points
    Dec 03, 2019 @ 15:43
    Luis Pedro
    0

    This is the results in the view, ALL documents in green box, filtered, 3 results with 3 different expressions (tests for IsBlogpost checkbox property in document)

    enter image description here

Please Sign in or register to post replies

Write your reply to:

Draft