Copied to clipboard

Flag this post as spam?

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


  • Bo Kingo Damgaard 157 posts 456 karma points
    Nov 07, 2011 @ 12:38
    Bo Kingo Damgaard
    0

    Members XPath in Autocomplete

    Hi

    How is the XML structured in uQuery.GetPublishedXml which is used in Autocompleter for members?

    I'm trying to filter by member group, but unless i put in "descendant::*" is doesn't give any results

    /Bo Kingo

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Nov 07, 2011 @ 13:19
    Hendy Racher
    0

    Hi Bo,

    Just done a quick test, and it seems that the member group data isn't stored as part of the member Xml fragment (this xml data is pulled from the cmsContentXml table), so unfortunately it's not currenly possible to specify an XPath expression to filter by member group :(

    Cheers,

    Hendy

  • Bo Kingo Damgaard 157 posts 456 karma points
    Nov 07, 2011 @ 13:25
    Bo Kingo Damgaard
    0

    How about member type then?

    And I thought that cmsContentXml table only contained the Content tree?

    /Bo Kingo

  • Bo Kingo Damgaard 157 posts 456 karma points
    Nov 07, 2011 @ 13:32
    Bo Kingo Damgaard
    0

    Found out myself. There are "nodes" in that table which is indeed members. I found the member type a a property, and I will try to filter on that.

    Thanks for your help

     

    /Bo Kingo

  • Hendy Racher 863 posts 3849 karma points MVP 2x admin c-trib
    Nov 07, 2011 @ 13:37
    Hendy Racher
    1

    Hi Bo,

    Yes you can filter by member type:

    //*[@nodeTypeAlias='MemberTypeAlias']

    HTH,

    Hendy

  • Bandico0t 11 posts 48 karma points
    Sep 25, 2013 @ 08:57
    Bandico0t
    1

    Hendy Racher thank you, i spent much time for looking up any approach for make filtered member picker

  • Paul Fowles 75 posts 184 karma points
    Jan 14, 2014 @ 15:56
    Paul Fowles
    0

    Hi is there a way you can limit the number of members as well? I'm trying to create an intranet booking system which uses members of a certain type. For example a course event gives 20 places to an event can autocomplete or any other xslt tell me how many members were selected?

Please Sign in or register to post replies

Write your reply to:

Draft