SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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"/>

But Body always comes back blank.

I have two site collections; one to test and one for production. The Test collection works and returns the body of the announcement, but the Production does not.

What should I be looking for? What could I have customized?

Our admin does not yet have the latest service pack installed, nor do I get much of anything out of them support wise.

share|improve this question
I am seriously questioning the health of our farm. The support is so poor, I am becoming afraid of data loss. – MrChrister Mar 30 '10 at 20:43

instead of




share|improve this answer
I have read that too, but it didn't work. Neither did RichHTML nor HTML – MrChrister Mar 31 '10 at 16:40
up vote 1 down vote accepted

Ended up using the Stramit Caml Viewer. What I learned was that at some point the "Body" field I was looking for had been renamed, and the viewer showed me the correct field to be asking for.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.