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:
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?
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 :).
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 !
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?
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
Data Type Settings: (Full xpath in original post), and content item below
Setup looks fine to me.
What version of uComponents you using?
Rich
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
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
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:
More info in this workitem: http://ucomponents.codeplex.com/workitem/12737
Jeroen
Good to know Jeroen :)
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
Yes that's all you need to do. Than it should work :).
Jeroen
Thanks Jeroen, works like a charm.
The only thing is the web.config keys are 'ucTrayPeek' and 'ucDragAndDrop'.
Thanks for your help,
Euan
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
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
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.
is working on a reply...