Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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.
If the nodes are red then it seems your filter is correct, can you post a screen shot of your datatype settings?
Data Type Settings: (Full xpath in original post), and content item below
Setup looks fine to me.
What version of uComponents you using?
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.
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?
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
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?
Yes that's all you need to do. Than it should work :).
Thanks Jeroen, works like a charm.
The only thing is the web.config keys are 'ucTrayPeek' and 'ucDragAndDrop'.
Thanks for your help,
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 !
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).
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted