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)

4
votes
2answers
20k views

How to show additional fields within the Content Query Web Part

I'm trying to use the Content Query Web Part to display all the tasks within a site collection, I've attached images of the Web Part properties and final output below. I'm looking for information on ...
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
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
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. ...
6
votes
4answers
1k views

Content query web part - include data from multiple lists

Is it possible to show data from two lists in CQWP? I am having this site setup. Department site -project site 1 -project site 2 -project site 3 - ... Every site is having a blog. I want to show ...
4
votes
3answers
2k views

Taxonomy field doesnt always show up in CQWP filter

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:...
4
votes
2answers
2k views

How to open documents in browser from a ContentByQueryWebPart (SP2010)

In our current SharePoint 2010 solution, opening documents directly from the document-library works just fine, but when I click on the files through a CQWP, this doesn't work. Instead, the standard ...
3
votes
1answer
2k views

When a CQWP returns no results, zones are shifted

On my main landing page of SharePoint, I'm using a few CQWPs and the Blank Web Parts Page layout. One will show your upcoming tasks, one will show the projects you're a member or lead of, etc. I have ...
3
votes
3answers
2k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
2
votes
4answers
9k views

Content rotator for SharePoint lists

I'd like to build a content rotator web part for SharePoint 2010 to display list information. I'm working with the ever-popular AnythingSlider. A couple of questions: How would I let the page author ...
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, ...
1
vote
1answer
681 views

CQWP - Sort items based on popularity

I've enabled Auditing in a list that keeps track of how many times an item has been viewed. I would now like to use a Content Query Web part to return a list of documents based on their popularity (...
1
vote
3answers
6k views

I have created my own ItemStyleCustom.xsl file, how to use it for my CQWP?

SharePoint 2010. I have created my own item style file with the name ItemStyleCustom.xsl. How can I use it for my Content Query WebPart?
1
vote
1answer
56 views

Changing Web Part Query Link Color

I have 2 query web parts that pull some of the latest information throughout the site into the front page. Currently I have a script editor with the following code to set the background color for ...
1
vote
1answer
4k views

How to format Date in Content Query Web Part?

I have a CQWP in which I am querying the data from a document library. ItemStyle being used is "Title and Description" Title displays the title of the Document and the in Description I have given a ...
1
vote
6answers
7k views

SharePoint 2010 CQWP and Managed Metada columns

I am trying to use a content query web part on SharePoint 2010 Server and filter on site columns of type "Managed Metadata". These columns do not show up int the available columns drop down in the ...
0
votes
0answers
49 views

CAML query is returning extra items that are not part of the filters

I am working on a Team site collection inside SharePoint server 2013. now inside the team site collection i have 5 subsites, and i want to return list items from the subsites that have the following ...
0
votes
2answers
61 views

Display REST Data

I am running into few issues. Issue # 1: When I use the following REST endpoint uri in chrome I get XML back. However, IE throws an error (IE cannot display this feed). I downloaded REST API Browser ...
0
votes
0answers
25 views

Show List Web Part Document Dropown on Content Query Webpart

Is it possible to add a Document Dropdown Menu to a Content Query Web Part? I need to create a web page that filters for Page Properties. This seems to be only possible with CQWP. But my team likes ...
0
votes
2answers
368 views

Display Custom Fields in a SharePoint 2010 Content Query Web Part

Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a ...
0
votes
2answers
3k views

Rendering images in a content query webpart

I have a bunch of images in a picture library that I want to expose on my Sharepoint homepage. I've added a Content Query webpart and configured it to display the items in the picture library list ...