Copied to clipboard

Flag this post as spam?

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


  • Paul Stewart 2 posts 22 karma points
    Oct 15, 2013 @ 15:31
    Paul Stewart
    0

    Multi Node Picker - Media XPATH filter

    Hey, was wondering if anyone can help me, am creating a multinode picker to browse through my whole media, but Filter Image MediaType in a particular Folder MediaType

    Example below, I only want the Image in the ContentImagery


    - Root
    - ContentImagery
    - Image
    - Album
    - Image
    - Image
    - BackgroundImagery
    - Image
    - Album
    - Image
    - Image
    - ContentImagery 
    - Image
    - Image
    - Album
    - Image
    - Image

    Tried many variations, Obvious my skill set knowing how XPATH's work is not great, but if anyone can help me that would be great.

    //ContentImagery//Image
    //ContentImager[//Image]

     

  • Chriztian Steinmeier 2726 posts 8320 karma points MVP 4x admin c-trib
    Oct 15, 2013 @ 16:50
    Chriztian Steinmeier
    1

    Hi Paul,

    As far as I know, you can't do that - the problem is that the filter is only applied to a simple XML chunk, containing only the current media node being tested.

    So any filtering you need to do using the attributes and/or properties of a single node.

    :(

    /Chriztian

  • 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