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)

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
300 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
152 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
2k 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
171 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
148 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
557 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
122 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
722 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
273 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
197 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
314 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
167 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
682 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
496 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
165 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
974 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
27 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
179 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
50 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
57 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
233 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
187 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
67 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
208 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
240 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
235 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
564 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
288 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
97 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
212 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
397 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
394 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
327 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
102 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
475 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
292 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 ...
0
votes
1answer
146 views

Content Query Webpart outputs HTML

I have inserted a CQWP on a site and set it to print a description, but it prints out HTML code. disable-output-escaping is set to yes. That doesn't help. Also when I try to edit it to make it ...
0
votes
2answers
836 views

How to access QueryString values with CQWP in MOSS 2007

I need to show some data from library based on querystring passed in URL. I've placed Content query web part on page and trying to access querystring using PageFieldValue but it is not working as it ...
0
votes
1answer
645 views

Custom XSLT template - Content Query Web part

I've added a content query webpart (CQWP) to pull description (rich text) from a list and display it. I added the following custom template - <xsl:template name="MyDescription" ...
0
votes
1answer
746 views

use jQuery Modal instead of SharePoint modal

So I understand this is a strange question, but is there a way to use content displayed in a SharePoint modal, in a jQuery modal instead. I like the styling jQuery offers, but the SharePoint modal ...
0
votes
1answer
171 views

Webpart Blocking Create View on other list

I created a webpart from an announcement list (Add Announcement List > Open in Designer > Copy to file > Import webpart to page) and display this webpart above main datasheet data list. Users want to ...
0
votes
2answers
97 views

Use WSS 3.0 to connect to Sharepoint 2007

I have the Intranet on Sharepoint 2007 Standard and want to setup a separate server with Windows Sharepoint Services 3.0 that would mirror (Just view, no editing) a specific Site. Is this at all ...
0
votes
1answer
349 views

XSLT with in CQWP leaving html tags open when empty

We have some XSLT when the value of Message is NULL the h2 transforms into a self closing tag. How can we stop this? <?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet ...
0
votes
1answer
161 views

Add content query web part to a page through web services

I am looking to add a content query web part to a page using web services (WebPartPagesWebService.AddWebPart). I am able to add content editor web parts and other simple web parts, but the content ...