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
203 views

ContentByQueryWebPart filter show all items if filter value not set

I have a question about CQWP. Iam working on blog CQWP that shows the latest 5 blogs. The site has one entry page and 4 pages dedicated to authors. All of these 5 pages has page layout with content ...
1
vote
0answers
48 views

Is it possible to render List Items twice from a single content query web part

Is it possible to render List Items twice from a single content query web part. My requirement is something like this: *. Title 1 *. Title 2 *. Title 3 *. Title 1 - Description 1 *. Title 2 ...
1
vote
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 ...
1
vote
1answer
730 views

CQWP Error when modifying webpart and ItemStyle.xsl : from example SP2010

I am trying to create a webpart that would take blog posts from subsites under site and roll them up. I found a blog that describes exactly what I am trying to achieve here. After following these ...
1
vote
1answer
683 views

Get the title of file and not file name in content query web part?

What do I use instead of <xsl:variable name="DisplayTitle"> <xsl:call-template name="OuterTemplate.GetTitle"> <xsl:with-param name="Title" ...
1
vote
2answers
319 views

Content Rotator to display latest posts only

I am looking at AnythingSlider and a custom content slider and was wondering if these tools allow me to display most recent content only. For a news rotator I only want to display top five news from a ...
1
vote
0answers
296 views

Content Query Web Part not displaying image correctly

I was changing columns and content types to create a custom area in a page layout so to add a summary area on the article page Somehow I changed one of the content types and now content query web ...
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
490 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
444 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
122 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
372 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
35 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
210 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
1answer
197 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
2answers
35 views

Show more columns in content query Sharepoint 2013

How do I set the number of columns shown by content query which retrieves data form a list? It only shows the Content column and I'd like it to show the Rating column too.
0
votes
1answer
184 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
692 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
130 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
894 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
302 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
232 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
349 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
187 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
785 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
521 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
1k 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
425 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
25 views

Display Announcement list from sub site

I have SharePoint Server 2010 Standard and am trying to put a short announcement List on my home site which is from a sub sub site. I tried creating a Content Query Web Part, selected the source as ...
0
votes
1answer
42 views

Display Template Render HTML in list item

I am building a display template for a CSWP. One of the properties is a multi-lined textbox and some HTML is stored with the actual data. How do I go about rendering this html in my display template? ...
0
votes
2answers
41 views

Content Query WebPart missing in SharePoint 2013

I was working with CQWP and after a while I had a lot of Content Query Web Parts on my masterpage, I deleted all and later found out that I couldnt see/access Content Query Web Parts under Content ...
0
votes
1answer
50 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
518 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
68 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
89 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
655 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
221 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
81 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
535 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
466 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
382 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
322 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
729 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" ...