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)

1
vote
0answers
74 views

Weekly Email from content query web part

We have several announcement lists we want to consolidate into a single weekly email - we do not want X separate emails being sent to each user. We can roll them up into a content query webpart but ...
1
vote
1answer
475 views

Advanced filtering in the ContentByQueryWebPart

I have a webpartpage with two CQWPs. I want the first to show all pages for the current site, and I want the second to show all pages for the subsites of the current site. As I can see, there's no ...
1
vote
0answers
42 views

Which Web Parts should get installed in SP2010 Update?

Per Dave Wise's answer(http://sharepoint.stackexchange.com/questions/13110/get-web-part-name-from-guid): Thanks, that worked great. However, even though my SQL Query returned 9000 results, about 18 of ...
1
vote
0answers
434 views

2010 Recent sub Site Wiki Page Changes Rollup with Content Query webpart

I have a my SharePoint 2010 enterprise implementation. I am trying to implement a Webpart in a site that shows all the latest changes from a sub site wiki libraries. Unfortunately the result set is ...
1
vote
0answers
121 views

CQWP and Announcements Body [closed]

I', trying to display the Body property of an Announcements List in my CQWP, but it is always blank. In CommonViewFields I've tried to set Body type to Text, RichHTML, Note... all with no result. ...
0
votes
1answer
2k 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 ...
0
votes
2answers
335 views

Set max number of items returned via Content Query or list

Any ideas if this can be done? I want to restrict the number of items returned to 5. Not sure if I can do this somehow at the CQWP or list level?
0
votes
2answers
33 views

How do I show a single event on a page?

I want to display a calendar list entry on a page. I know the GUID of the entry, but I'm not sure which webpart to use. Basically I want to display the title, location, start time etc on a webpage. ...
0
votes
2answers
187 views

If a user accidentally closes dialog in sharepoint, can we force it to submit to it's list?

In our sharepoint item workflow we have users enter info into a form, then hit submit as usual. A manager does not want the users to have to do it again if they accidentally close the form, or fire ...
0
votes
3answers
3k 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?
0
votes
1answer
188 views

How to create a webpart with a picture and some lines of text

I am using SharePoint 2010 Standard edition and on my home page I want to create a webpart which includes a picture on top and under the picture a 10 lines message. Dont know which webpart type I ...
0
votes
1answer
164 views

Excluding specific files from Content Query

I have a content query web part that displays all the latest documents added to a site collection but there are one or two occasions where a file will be uploaded that the user doesn't want advertised ...
0
votes
2answers
619 views

Content Query Web Part cannot use metadata with multiple values?

I have a metadata set which is part of a content type attached to multiple document libraries throughout my site collection. This metadata set allows multiple values. The metadata set isn't showing in ...
0
votes
3answers
127 views

How to query data for CQWP?

I have added the CQWP successfully to the web part page programmatically. Now I want to query data for that web part i.e. I want to display the title of the file from the document library. My code ...
0
votes
1answer
824 views

Content Query Web Part as “latest updates”, does not refresh/show all documents

I'm trying to create a "Latest Update" section, that shows the latest updates on a site (new documents and presentations that are uploaded or Changed). Right now I'm using the Content Query Web Part ...
0
votes
1answer
2k views

How to display only future events in Content Query Web Part?

I have content query web part for displaying the future events. But the web part is displaying the past events as well. For example, I had two events in March and 3 in April. It shows all five event. ...
0
votes
2answers
285 views

What are some alternatives to the Content Query Web Part for displaying list data in a custom layout?

I have some very specific requirements for displaying data from a List of Announcements. The Content Query Web Part can do almost what I need but does not seem like a very effecient solution. ...
0
votes
2answers
215 views

content query web part does not exist

I have a Team site and I want to add a content query web part in my site. But the content query web part is not appearing in the team site i active Team Collaboration Lists but content query web part ...
0
votes
2answers
332 views

SharePoint 2010: Content Query WP - Filter by current year?

I have a Content Query Web Part looking at a SharePoint list which contains a column called "Year". Is it possible to add a filter within the web part properties that will only display items of the ...
0
votes
2answers
182 views

XmlFormView and QueryStringFilter

I'm working on a project to automatically generate some document libraries and pages. One of these pages I have to put a infopath form webpart and a TextFilter to send to this form some information (a ...
0
votes
1answer
1k views

Linking CSS file to ItemStyle.xsl for CQWP custom template

Beginner. I have created a custom template for a CQWP in the ItemStyle.xsl. One thing that I am not sure about is how I could associate a css file so that anytime this template style is used the ...
0
votes
1answer
737 views

How to customise Content Query Webpart to get this view

I would like to customise the Content Query Webpart like i normally do with DWP but i know its a different approach. All i want to do is to get the title name and turn it into a link and when you ...
0
votes
2answers
2k 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 ...
0
votes
1answer
507 views

Content query WP with more than two filters

We're using a content query web part (CQWP) to pull a list into a sub-site from the root site of the site collection. Is it possible to define more than two filters on a CQWP? Any reason why the CQWP ...
0
votes
1answer
167 views

Help with ContentQueryMain.sxl

I'm creating a CQWP that i want to style without the <ul class="dfwp-list"> ... wrapped around it. I know the html is created via a variable inside OuterTemplate but For this QCWP i dont ...
0
votes
1answer
988 views

Use of custom fields in CQWP

We have a custom field in a custom page type to denote the published date. A cqwp is used to retrieve a list of pages from a pages list and we need to display this published date. Normally this would ...
0
votes
1answer
3k views

OOB Content Query Web Part Paging

How can I implement paging (no code and probably using XSLT) in the OOB CQWP?
0
votes
1answer
424 views

MOSS ItemStyle.xsl

I have a content query webpart which uses a style within ItemStyle.xsl. How can I extract the URL that the webpart sits within from ItemStyle.xsl? Many Thanks, Nav
0
votes
1answer
43 views

How to display unlimited rows in Content Query Web Part?

I want to display unlimited number of rows using Content Query Web Part. Is it possible? if yes then how and if no then what is maximum row limit supported? Thanks.
0
votes
1answer
377 views

Content Query webpart and display list items from another subsite

I have a portal homepage and subsites in this hierarchy Home->Divisions->HR I have created a custom list in HR subsite with Name, Department, Joining Date and City. Then I went to Home and added a ...
0
votes
1answer
61 views

CQWP queries too many items

I have a CQWP that queries an entire Site Collection. The Site Collection contains around 10,000+ documents. I use the CQWP to try to get the 25 most recent documents from this 10,000. Problem is, it ...
0
votes
1answer
73 views

CQWP Content Query Web part and the whole import/export process

I am building a corporate intranet with a totally custom design and need to use CWQP in order to pull data from lists (home page carousel and quick links) and subsites (news article rollups etc). ...
0
votes
2answers
471 views

Get both ID and Name from a field of type 'Person or Group' in a Content Query web part

I posted this question on StackOverflow a couple of weeks ago, but since it hasn't got very much attention I'm posting it here instead. I'm building a Content Query Web Part that is supposed to ...
0
votes
2answers
200 views

Compare current user login name with four custom sharepoint list 2010?

I have 4 custom list (test A, Test B, Test c,test D). I need to find current user login belongs to which list in sharepoint. if current user belongs to Test b list i need to show pop up "U belong to ...
0
votes
1answer
71 views

Image Click event inside content editor webpart

I want to add an image click event inside the content Editor web part using the JavaScript only. Here is the scenario which i want. I have 4 images in the main sharepoint page insides the content ...
0
votes
1answer
382 views

Content Query on Calendar Event Items not showing start date / event date

I have a CQWP that checks the whole site collection for calendars & event items. Using this trick here: http://benprins.wordpress.com/2012/05/20/show-all-fields-and-values-with-xslt/ to get all ...
0
votes
1answer
319 views

Add query web part to display form to show related items in another list?

I have a list which contains information that is heavily linked with info in another list. The most similar example that I've seen was where someone had a list of customers and then a total list of ...
0
votes
1answer
331 views

SP2013 - CQWP query override for tasks assigned to me

I'm using a CQWP, and I need to add more than three filters. The filters I want are: Status is not equal to Completed Status is not equal to Deferred Due date is less than Today Assigned To is equal ...
0
votes
1answer
288 views

content query webpart, query filter on a hidden field?

i am using o365, and building a sharepoint 2013 Online website. i have created a column in my contenttype. I set This column hidden. i dont see This column when i try to add a query filter on my ...
0
votes
2answers
645 views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" ...
0
votes
1answer
337 views

Always show Header&Footer in Content Query WebPart

I want to add an header and a footer to the data displayed by a Content Query wp using SharePoint Designer. I had been following the following tutorials: Link 1 and Link 2. It works fine but the ...
0
votes
1answer
102 views

What is the best method to use your own itemstyle.xsl on a CQWP?

Im using sp2010. I have created programmatically a module where I copy my custom itemstyle.xsl. I named it customItemStyle.xsl. How can I programmatically set this customItemStyle.xsl file as default ...
0
votes
2answers
264 views

Unable to fetch data in CQWP programmatically

I have added a CQWP from visual studio. In that web part, I want to fetch the document names of the document library named "Sample Docs". My code for doing so is as follows: static void ...
0
votes
1answer
435 views

How to add CCQWP programmatically in SharePoint 2010?

I need to add the Content Query Web Part programmatically in SharePoint 2010. I exactly don't know how to do that. I searched over the internet but not find the exact post anywhere. I got this post. ...
0
votes
1answer
403 views

Possible to add XSLT to CQWP through UI?

Using C#, I am inserting web parts into web part zones programmatically and styling them. More specifically, I'm inserting CQWP's and assigning XSLT files to them. I'm now wanting to allow users to ...
0
votes
1answer
364 views

Issue checking for contains in CQWP, comparing against Managed Metadata field

I have a unique scenario where I need to compare values for conditional formatting of my Content Query Web Part. In most circumstances this is pretty easy, and we thought this was working for the most ...
0
votes
1answer
110 views

Variable Content Query Webpart in Sandbox Solutions

I'm stuck with the following problem. I have a Sharepoint Sandbox Solutions project. On the main page there's a list "Artists" with URLs that direct to the proper Artist Page. Those artist pages are ...
0
votes
2answers
512 views

Can we integrate the office Communicator in Sharepoint

Would you please help me if can we integrate the office communicator in sharepoint 2010 as live chat ?? or any link buttonn to open the office communicator user windows chatting ?? Regards,
0
votes
1answer
729 views

Missing some custom fields on Content Query

I need to display my custom list rows using a custom XSLT, so I have configured a CQWP to display these rows from this specific list. Although, even the Order by dropdown list displaying all list ...
0
votes
1answer
317 views

Get current page title in Itemstyle.xsl without script

I have a requirement where I need to customize the display of content in a content query web part based on metadata associated with the page layout. When I say customize the display I am not filtering ...