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)

3
votes
2answers
919 views

Remove LI wrapper from Content Query Web Part / ContentQueryMain.xsl

I have done a fair amount of experminting with this but cannot get it to work and I'm now looking for pointers or working examples. I want to customise the output of the Content Query Web Part to ...
4
votes
1answer
265 views

PublishingStartDate in Content Query web part

How to process PublishingStartDate properly in XSLT of SharePoint 2010 Content Query web part (CQWP)? CQWP sends e.g. Modified date of a page (row element) in format “YYYY-MM-DD…”. ...
6
votes
3answers
1k views

How to do a for-each in ItemStyle.xsl

I'm trying to pull in custom columns from a SP list, and it works fine, but now I have to figure out how to do a for-each instead since it needs to pull in all items not just one. Here's where I am ...
3
votes
2answers
767 views

Content Query Web Part - Custom fields

I have created a Site Collection with a number of Sites that were created using the same Site template have therefore have an instance of the same List type (Issue Tracking) - 'Tasks'. I simply want ...
1
vote
0answers
76 views

CQWP pass columns by default

Lately we migrated a website from Sharepoint 2007 to Sharepoint 2010 and one of the issues we faced is that the content query webparts used to work fine but now it doesn't (It's missing some values) ...
0
votes
1answer
216 views

Content Query Web Part on a multilingual SP site

I have a SP 2010 installation, installed in English. I have some sub sites that use publishing, for news and such. On my home page I have a CQWP that shows the news nicely formatted. The CQWP has the ...
1
vote
0answers
201 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
47 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 ...
3
votes
2answers
494 views

Content Query WebPart - Group by date - SP2010

I need to display top X last modified documents and/or publishing pages. They need to be grouped by modified date. As far as I know, the CQWP does not support grouping by date. Is there a workaround ...
0
votes
2answers
890 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 ...
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 ...
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
2k views

how to query a list inside a xslt file used by content query web part?

I am trying to understand xslt and how it is used in a content query web part. What I want to achieve is getting 5 last items added into a sharepoint list and display them in a special format. The ...
1
vote
1answer
661 views

Displaying Custom List Items in Content Editor or Content Query Webpart

How to Display my custom list items in Content Editor or Content Query Webpart? In this Webpart how to make data as "scroll= up"? for Eg: News Scrolling in Home Page.aspx. If any one of the news is ...
3
votes
3answers
237 views

How to alter result of a CQWP query?

On the site I'm maintaining, alle the news pages has a Note Board webpart for commenting on a newspage. On the news summary page resides a standard CQWP, displaying the most recently posted news. ...
3
votes
2answers
2k views

How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?

I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
0
votes
1answer
677 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" ...
1
vote
1answer
957 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
2answers
2k views

Missing Content Web Query web part in a my-site

On my-site I've created a wiki site and would like to make use of content-query-web-part, however when I Page > Edit > Insert > Web Part CQWP isn't among the available choices. Does it have ...
1
vote
3answers
2k views

How to show items from only two libraries with Content Query Webpart

Salvete! I have two document libraries, and want to display the contents of both libraries in one view. Can I do this with the Content Query Webpart? Is there a way to make it display in the same ...
4
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
0
votes
1answer
769 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 ...
1
vote
3answers
2k views

How to get all the list names in a site from the client side?

I try to dynamically get the names of all the lists in my site using a content query web part, but apparently a CQWB can only retrieve the items in the list, but not the list name? I'm wondering how ...
1
vote
2answers
1k views

Add jQuery to Custom CQWP to make scrollable - SP2010

So if I create a custom cqwp (by that I simply mean customizing the view by adding fields to webpart and modifying the xslt in itemstyle), can I apply jquery after the fact to limit the size the ...
1
vote
2answers
596 views

CQWP or default list view webpart

I have bunch of document libraries for Sales site collection. These doc libs are by Year. These are going to be read only records. By default the list view displays everything. No filter needs to be ...
2
votes
2answers
627 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
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 ...
1
vote
1answer
700 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 ...
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 ...
2
votes
1answer
1k 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 ...
0
votes
2answers
98 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 ...
1
vote
1answer
206 views

Any ideas why an internal name for column begins with _x0040_Active

Content query webpart not picking field value because internal column name appears as _x0040_Active
2
votes
1answer
972 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 ...
0
votes
0answers
97 views

XSLT Markup help [duplicate]

Any xsl examples on how to achieve this html markup <div id="rotate"> <ul> <li></li> <li></li> <li></li> </ul> <div>First ...
2
votes
0answers
37 views
2
votes
1answer
248 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 ...
0
votes
1answer
357 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 ...
1
vote
1answer
745 views

CQWP throwing security validation error when selecting list

I am currently building an intranet portal which is highly dependent on content query web parts. I am having an issue where when I go to select a list from the popup, it throws an error. The ...
0
votes
1answer
164 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 ...
0
votes
1answer
214 views

How do I fill a webpart with list values I have retrieved with ECMAJS SP2010

New to SP dev, but recently learned how to retrieve data from lists using ECMA with CAML. Added a CEWP, wrote the script to retrieve the data and it is working fine, multiple field filters, etc. ...
1
vote
1answer
522 views

How to display a list across multiple sites?

I want to be able to create a customized list, "Test", on my main page, "Home" of SharePoint. I want to be able to link to that custom list, "Test", onto another site in the same collection, ...
0
votes
0answers
144 views

odd issues with Link regardless of fieldtype

I have a picture library and I am using unc path to very large files (Like engineering autocad files) that I can't store in SP. I added a content Query WP and configured it so pictures are displayed ...
0
votes
1answer
87 views

Additional class rule based on template name

I'm rendering three columns, each containing a CQWP. Each CQWP will utilize a different item template to render the contents, however, I need to add an additional class rule along-side ...
0
votes
1answer
118 views

I cannot find the default.aspx page in the cqwp

I am trying to extract and display the content editor web part within the site default page on another page. When using the cqwp, I cannot find the default page at all. Thank you for your help More ...
0
votes
2answers
1k views

how do I link to more items at bottom of content query web part?

I have two content query web parts each linked to a different announcements list. I'm showing the most recent five announcments and would like to have a 'View all' link at the bottom. I've found a ...
1
vote
1answer
365 views

Data View Web Part pointing at multiple XML feeds/internal SharePoint lists

I am trying to put together a web part with a mixture of jQuery display functionality on a DataView web part. The idea is to have multiple sources of news feeds from both an internal SharePoint list ...
3
votes
1answer
128 views

Is this custom editing functionality in chrome header area hard to develop, any pointers at all?

I am trying to develop web parts with custom functionality for editing for normal users. In the chrome bar there would be the same sort of controls as you see in the top right of your browser (except ...
1
vote
2answers
276 views

OOB CQWP messes up dropdowns background in IE9

Create a new publishing site Drop a CQWP onto a page, you dont even need to configure it Click SiteActions menu Problem: The background for the menu becomes transparent! I only have this issue in ...
3
votes
1answer
1k views

Content Query webpart- CommonViewFields vs ViewFieldsOverride

I'm reading up on the Content Query web part and based on this page, I can't understand the difference between the CommonViewFields property vs the ViewFieldsOverride property. How are they different? ...