Taxonomy field doesnt always show up in CQWP filter

Anders Rask
  • Taxonomy field doesnt always show up in CQWP filter Anders Rask

    I am using two new features in CQWP to list "related items" in a web part:

    Taxonomy field filtering is used to match the current pages taxonomy value given dynamically by [PageFieldValue:MyTaxonomyField].

    This works like a charm, as long as i point out a specific list as source:

    Soruce: /news/pages Content type: My News CT Additional filters: MyTaxonomyField > contains any of > Custom Value or Query:[PageFieldValue:MyTaxonomyField]

    Now thats pretty damn neat, but I want the source to be from all pages using that content type, but if i select site and subsites as source > list type: Pages library > and select same content type as before, the filter list doesnt contain my taxonomy filter!

    Have anyone got a good explanation on this?

    I havent tried editing the webpart xml directly, but thats my next move anyway (since i want to wrap it up in a feature).

Tags
content-query-web-part managed-metadata taxonomy
Related questions and answers
  • I have pages in a pages library on a publishing site which have a managed metadata (taxonomy) field in their content type. I want my custom search webpart to read the taxonomy set on its parent page (I can do this fine) and then query against a specific scope using only the selected tags of the parent page as the filter (no keyword necessary). I have tried to set FixedQuery... that is populated with data? Note: I have tried to make my own managed property based on the managed metadata field in my site's content type -- same results.

  • ;/RenderPattern> In WSS 3.0, this would render the 2nd column in the field as a hyperlink in the LVWP, which is what I want. In SharePoint 2010, I tried adding TRUE to my field type definition...Has anybody upgraded an old custom field type to use the new XSL transform in SharePoint 2010? I have a multi-column field type, and want the Display pattern to render the 2nd "column", which contains a hyperlink. My CAML render pattern looks like: <RenderPattern Name="DisplayPattern"> <Switch> <Expr> <Column /> </Expr> <Case Value

  • I can create a CQWP for the Announcement content type, but when I export the .webpart and add <property name="CommonViewFields" type="string">Expires,Date;Body,text</property> In my ItemStyles.xsl I have added this to show all the returned fields <xsl:template name="ShowXML" match="Row[@Style='ShowXML']" mode="itemstyle"> <xsl:for-each select="@*"> <br /> Name: <xsl:value-of select="name()" /> <br />Value:<xsl:value-of select="." disable-output-escaping="yes"/> </xsl:for-each> </xsl:template>

  • I have a content type defined in Elements.xml and I want to add an Event Receiver. My Elements.xml looks like this: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http...; <Field ID="{7EBC5918-CB79-440A-8DF3-480C6951C4EB}" Group="News" Name="NewsExcerpt" DisplayName="Excerpt of the Article" Description="165 Characters maximum" MaxLength="165" Type="Text.... I've checked the Schema with SharePoint Manager 2010, and it seems that the XmlDocuments element is ignored completely? Here's the content type SchemaXml according to SharePoint Manager: <?xml

  • have 11 pages of document links, each with its own subheadings. So far I have it set where each document has a custom field called "Page" with a check box list of all the document pages on the intranet site. On each individual page, I have setup a Content Query Web Part that displays the documents that have the corresponding Page value set (i.e. if a document Page value has been checked for "HR... to the documents list and note on which pages they should appear on without having to manually update the pages themselves. The problem that I am having is that I cannot seem to find a good way to sort

  • There are already a whole lot of query/roll up webparts from 3rd party vendors on the market. Evaluating each on of these though is very time consuming. I'd therefore appreciate anybody sharing their experience with these webparts. In paticular I'm looking for a content query/roll up webpart which should meet the following requirments: Query all lists inside a site colection using a certain custom content type Filter by audiences and people picker field with multiple entries enabled Look & feel very similar to the standard SP2010 list look & feel

  • A few days ago I submitted this question to stackoverflow: https://stackoverflow.com/questions/3161708/sharepoints-new-folder-doesnt-ask-for-a-required-field I essentially have Web Part Connections filter some documents through a required field. I was having problems making that new field for the folders. I managed to do it with help from a user over there. It is all good and dandy, but now my problem is that whenever someone goes into the folder, the filter gets reset, and you're not able to re-select the same option you were just at. We were very confused for a few minutes when we were

  • I’ve been trying to use ListData.svc to get a REST feed from a list (actually a pages library) using something like: http://SharePoint/_vti_bin/ListData.svc/Pages?$orderby=NewsArticleDate&$filter=(2010 eq year(NewsArticleDate)) and (06 eq month(NewsArticleDate)) and (ContentType eq 'News Article') It all works great and our front-end developers have been able to combine this feed... on anonymous access (anonymous users can browse to the list items) this feed simply returns an error: Object reference not set to an instance of an object. Is it just not possible to use this service

  • I am trying to get the CAML for a custom content type that I am creating. What I am really doing is creating the content type in Visual Studio 2010 and then deploying that content type to my sandbox. At that point, I am modifying the content type using the SharePoint interface (i.e changing advanced settings, adding columns, etc). What I would like to do, is after I have made my changed, update... want to use Visual Studio and CAML so that I can put these CAML xml files in source control so that I can version my custom fields and custom types. I have tried using tools like http

Data information