Content Query is a Web Part that displays a dynamic set of items based on a query that you build by using a Web browser. You use the query to specify which items are displayed, and you can set presentation options to determine how those items are displayed on the finished page.

learn more… | top users | synonyms (1)

2
votes
2answers
231 views

Query list types using CAML in CQWP query override?

When you export a Content by Query web part and open it up there is the <property name="QueryOverride" type="String" /> tag which allows you to put in your own CAML query to specify further ...
2
votes
2answers
657 views

How to remove WebPart from the screen if there are no items - CQWP

What do i need to do in my itemStyle.xsl to hide webpart when there are no items. When RowCount is 0. Thanks i advance
2
votes
1answer
2k views

Strip out DIV tags around rich text fields

I've noticed that SharePoint 2010 wraps rich text fields (multiline text) with DIV tags, which can be annoying. I've got a custom XSL template for the columns being pulled by a content query web part ...
2
votes
3answers
2k views

How do I render a Reusable Content item from a page template?

In a SharePoint publishing site, what do I need to include in my layout file to make it render the Reusable HTML from a specific item in the Reusable Content list?
2
votes
1answer
1k views

Content aggregation: Same document library in several subsites into one big document library in main site

Let's say I have a main site collection with three subsites each having one document library: MainSite SubSite1 (myDocLib) SubSite2 (myDocLib) SubSite3 (myDocLib) I want three subsites for ...
2
votes
1answer
31 views

I cannot see site column in Content Query Filters

I've made a CQ web part. Before I made a site column call "Assigned to CC" which is multiple user column. I wanted to filter my web part so each person can see the item that "Assigned to cc" contains ...
2
votes
2answers
166 views

List Throttling Threshold Workaround for CQWP?

Is there a good way to get around the list throttling threshold? Here is my scenario: We have our top level site in a site collection with department sites beneath it. A few of the department sites ...
2
votes
1answer
75 views

SharePoint 2007 CQWP Limitations:

Morning all, I'm using SharePoint 2007 Standard SP3 I'm interested in getting some opinions on the best way to surface content from one part of a SharePoint 2007 site collection into another. I ...
2
votes
4answers
5k views

Use custom columns with Content Query Web Part

I'm trying to use custom metadata columns with the Content Query Web Part. I finally figured out that I apparently needed to export the .webpart xml file, edit it and then import it as a new web part. ...
2
votes
1answer
238 views

Group By Last Modified Date in XSL or Content Query WebPart

I need to diplay the result of my content query webpart as follows: Date modified 1 TitleTitle Date modified 2 Title Title Title I know you can't do a group by on the last modified date in de content ...
2
votes
1answer
258 views

How to Roll back Sharepoint content editor webpart

I have content editor on my team site where I added several links. But today while adding some new links, content editor crashed. so now when I tried to open site containing content editor, browser ...
2
votes
1answer
1k views

Can't read Enhanced Rich Text field value from CQWP

I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...
2
votes
3answers
4k views

Can I dynamically filter CQWP results using value from a Cookie?

I am able to filter the CQWP Results using the query string by using the keyword (PageQueryString) (reference: ...
2
votes
1answer
578 views

Sharepoint - CQWP to point to current site

In an ONET.XML file I build a page with a CQWP. The CQWP has a WebUrl property is there a way to set this to alway be the the current web? I tried this but it didn't work.s ...
2
votes
1answer
2k views

Content Query Web Part - No Results

How can I setup the display for a content query web part when no results are returned?
2
votes
1answer
622 views

Best 2010 Content Query Web Part

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 ...
2
votes
3answers
615 views

How do I exclude list items created by certain users with the Content Query Web Part?

I have a custom list created in SharePoint 2007 and displayed by a Content Query Web Part. I would like to: Show all items to general admin users except those items created by two users. The two ...
2
votes
2answers
868 views

CQWP cannot find Body field in the Announcement content type

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 ...
2
votes
1answer
742 views

How to specify [Now] in content query web part

I currently have a content query web part that has a filter on it to show items that have a published date less than or equal to [Today] and it works great. The problem is I'd like to change this ...
2
votes
1answer
326 views

Self Referencing Related Documents Library Through Lookup Column

I am trying to create a single document library that links to documents in the same library in SharePoint 2010 Server. I've created a multi-value lookup column that references the same library to ...
2
votes
2answers
1k views

Show new item notification on Content Query Web Part

I have a Content Query Web Part in the home page of my site root that points to a announcement list in a sub site. Is it possible to also show the new item notification image as the announcement ...
2
votes
1answer
774 views

CQWP rating control not working

I have got CQWP to display the rating control for items in a video library. I used fldtypes_Ratings.xsl to call the template in my custom Itemstyle.xsl. I managed to show the starts but its not ...
2
votes
1answer
106 views

Splitting ItemChildCount

Does anyone know how to just return the # of replies value from the built in SP field ItemChildCount? It seems to store the values as a delimited string with the ID of the item associated as a reply ...
2
votes
2answers
2k views

Use Managed metadata with the Content Query Web Part?

I'm trying out the Content Query Web Part in Office 365. However, I want to use Managed metadata as a criterion to filter on, but I don't see any of the Managed metadata columns I have created in ...
2
votes
1answer
116 views

Limiting a view based on authentication

I am attempting to solve/plan a strategy for a business using SharePoint 2010. They have data from multiple external databases. I would like to display this data in a report based on the current ...
2
votes
2answers
5k views

jQuery - How would you display / hide content with a radio button based on a date?

I current have a list of items being pulled through in a Content Query Web Part. Onload, I would like to display the items from today onwards, and for this to be a radio button selected onload. The ...
2
votes
1answer
1k views

List view web part to display all item from document folder in subsites (SharePoint 2010)

How can I achieve that I can display all the documents from the document libraries from all the site collections sub sites? (Actually I only need to show the onces that where changed lately.) It ...
2
votes
1answer
1k views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
2
votes
2answers
172 views

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
2answers
2k views

How to display document approval status in a content query web part?

I have this XSLT to display document title and approval status <xsl:template name="DocumentStatus" match="Row[@Style='DocumentStatus']" mode="itemstyle"> <xsl:variable ...
2
votes
1answer
831 views

Internal Name not working in Content Query Web Part on SPS2007

I'm trying to get and display list columns in the Content Query Web Part. Unfortunatley, some of these column names are like "WEC_ArchiveDate" or "My Categories". So I find the internal SharePoint ...
2
votes
2answers
1k views

Content Query Web Part additional filters

I've been working on a SharePoint intranet implementation and have been trying to use the CQWP to aggregate a number of announcement lists throughout our site on the homepage. I've been using the ...
2
votes
1answer
46 views

Format Date in Content Query

I have looked through too many threads about this and have made no progress. So far the following links have helped me the most: Content Query WebPart & Date How to format Date in Content ...
2
votes
1answer
38 views

GroupBy site name inside my CAML query

I wrote the following CAML query to be used inside my Content Query Web part, but i am not sure if i can define to Group the retrieved item by site name :- <property name="QueryOverride" ...
2
votes
0answers
19 views

XSLT Force Time Zone

Using XSLT, is there a way to show the time for a specific time-zone? e.g. Resolved: <xsl:value-of select="ddwrt:FormatDate(@ResolvedDate, 3081, 2, [TimeZone])"/>
2
votes
0answers
104 views

Set view fields in content query web part programmatically

I am using the code below to update a web part on a home page, it sets the correct settings but when I go to the page with the web part it doesn't pick up the links from the Navigation list. What I ...
2
votes
0answers
53 views

How to make CQWP retrieve 4 most recent Items in the whole site collection?

I'm a little stuck with one of m Content Query Web Part: On my homepage, i would like to display the 4 most recent items added to my site collection in a Content Query Webpart called "What's new?" So ...
2
votes
0answers
122 views

XSLT, regex and RenditionID

I'm sort of new in XSLT, and i need some clues, if you're willing to give me some... What i want: In a CQWP, i want to display items' images, with a certain rendition ID. But, when retrieving the ...
2
votes
1answer
57 views

Importing CQWP second time changed the Field name to a Guid

I have a publishing site in 2013, pretty much OOTB. It has a news section as well which is where I created a bunch of news articles and everything is published. I then went to create a CQWP on the ...
2
votes
0answers
86 views

Customize Content Query Web using Internal Names not guides

I am trying to configure the Content Query Web Part to show my custom fields defined in the underlying content type. The following code snippet is placed in a custom template in the ItemStyle.xsl ...
2
votes
2answers
268 views

Publish content from a subsite to the parent

I'm trying to work out if I can publish page content from a subsite upto the parent site. I want departments to have their own subsite where the manager can enter what's happening on the department ...
2
votes
1answer
145 views

How do I create a custom calendar using the Custom Content Query Webpart?

I currently have two sites right now, a Parent Team Site and a sub team Site. I am trying to use the content query webpart to pull the Calendar entries from the sub team Site into the Parent Team ...
2
votes
0answers
281 views

CQWP display custom field from all lists in subsite

I am trying to build a CQWP to display custom fields on list items from several lists in a subsite. So far i have configured the CQWP.webpart file to display the custom field when i query by "Show ...
2
votes
0answers
151 views

XSL returning only XML result

I'm attempting to use a Content Query webpart to display a calendar but instead of getting a styled result I get an XML result that looks like this: <dsQueryResponse> <Rows> ...
2
votes
0answers
68 views

Linking publishing's xsl files?

I'm working on customization of some ContentByQueryWebPart. This customization consists in defining custom contentquerymain.xsl and itemstyle.xsl file. However, from one customization to another, ...
2
votes
1answer
1k views

content query web part with multi value lookup column

I am trying to work out how I can query a content type with a multi value lookup field using the content query web part. I know that natively this is not possible with ootb sharepoint 2010 however I ...
2
votes
1answer
2k views

CQWP - dynamically setting the list

I have a Webpart that extends the content query webpart, that is currently pointed to List X. On the click of a button I want that webpart to be changed to point to List Y. This seems like a very ...
2
votes
0answers
38 views
2
votes
1answer
300 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl ...
2
votes
0answers
1k views

SP2010: Strange Content Query Web Part Behavior - Inconsistent results between users

I'm experiencing some very strange behavior with a content query web part. The web part uses no customised XSL, and is a simple query of "All sites in this site collection, from a Document Library, ...