Copied to clipboard

Flag this post as spam?

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


  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 11:22
    Euan Rae
    0

    uComponents Multi-Node Tree Picker filter not working

    I've got a multi-node tree picker and can't get the xpath filter to work.

    I'm trying to stop two types being added ('ContentItemFeedFacebook' and 'ContentItemFeedTwitter'), and i've tried to do the filter by:

    disabling the content type:

    /*[name()='ContentItemFeedFacebook' or name()='ContentItemFeedTwitter']

    and enabling every other content type

    /*[name()!='ContentItemFeedFacebook' and name()!='ContentItemFeedTwitter']

    but still no luck.

    These content items have the text in red, but can still be selected.

    Any ideas?

     

  • Rich Green 2246 posts 4006 karma points
    Nov 02, 2011 @ 11:24
    Rich Green
    0

    Hey Euan,

    If the nodes are red then it seems your filter is correct, can you post a screen shot of your datatype settings?

    Rich

  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 11:33
    Euan Rae
    0

    Data Type Settings: (Full xpath in original post), and content item below

     

     

     

     

     

     

     

  • Rich Green 2246 posts 4006 karma points
    Nov 02, 2011 @ 11:34
    Rich Green
    0

    Setup looks fine to me.

    What version of uComponents you using? 

    Rich

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Nov 02, 2011 @ 11:39
    Jeroen Breuer
    0

    How do you select the items? Do you click on them or do you drag & drop them? The d&d option will always work even if the nodes are red.

    Jeroen

  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 11:42
    Euan Rae
    0

    I'm using version 2.1.

    I'm dragging & dropping the red items on.  Clicking red items won't add them.

    Is this a known bug/issue with the data type?  Is there anyone known fix/work-around?

    Cheers,

    Euan

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Nov 02, 2011 @ 11:51
    Jeroen Breuer
    2

    The dragging & dropping has always been experimental (you can probably even drag all the nodes from the acutall content tree into the picker) and will be disabled by default in uComponents 2.2. If you use the latest change set you can disable it by yourself by adding these appsettings to the web.config: 

    <add key="ucomponents:TrayPeek" value="false" />
    <add key="ucomponents:DragAndDrop" value="false" />

    More info in this workitem: http://ucomponents.codeplex.com/workitem/12737

    Jeroen

  • Rich Green 2246 posts 4006 karma points
    Nov 02, 2011 @ 11:58
    Rich Green
    0

    Good to know Jeroen :)

  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 12:29
    Euan Rae
    0

    Sounds good Jeroen; is it just the uComponents.Core.dll file that needs to be updated?  Should I just get the source code, build it and upload the new dll?

    Cheers,

    Euan

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Nov 02, 2011 @ 12:45
    Jeroen Breuer
    0

    Yes that's all you need to do. Than it should work :).

    Jeroen

  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 12:52
    Euan Rae
    0

    Thanks Jeroen, works like a charm.

    The only thing is the web.config keys are 'ucTrayPeek' and 'ucDragAndDrop'.

    Thanks for your help,

    Euan

  • Jeroen Breuer 4861 posts 12138 karma points MVP 3x admin c-trib
    Nov 02, 2011 @ 12:54
    Jeroen Breuer
    0

    Are you sure the web keys are ucTrayPeek and ucDragAndDrop? I used those before, but Lee told me those are the old keys and those I posted are the new ones. Well it works and well see what the keys are in the 2.2 final. Glad I could help :).

    Jeroen

  • Euan Rae 105 posts 134 karma points
    Nov 02, 2011 @ 12:56
    Euan Rae
    0

    Yeah, I looked for the keys you posted and they weren't in the source code, but ucTrayPeek and ucDragAndDrop, and when I added them they worked.  If that's the only change I need to make upgrading to 2.2, I'm not going to complain !

    Euan

  • Lee Kelleher 3946 posts 15174 karma points MVP 10x admin c-trib
    Nov 02, 2011 @ 13:05
    Lee Kelleher
    0

    The AppSetting keys will definitely be prefixed with "ucomponents:" for v2.2 final (we'll most likely bump up the version number to avoid confusions).

    I think the beta releases just used "ucTrayPeek" and "ucDragAndDrop" (without the prefix).

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft