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)

2
votes
1answer
96 views

Limiting a view based on authentication

I am attempting to solve/plan a strategy for a business using SharePoint 2010. They have data from multiple external databases. I would like to display this data in a report based on the current ...
0
votes
1answer
257 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
81 views

Description for second item is not displaying completely as like the first item in CQWP when using itemstyles

Description for second item is not displaying completely as like the first item in CQWP when using itemstyles. The below custom itemstyle i have used. ...
0
votes
0answers
873 views

content query web part rollup image display

I have a Content Query Web Part that is aggregating pages for me. I am using the OOB "Image on left" Item Style. On my pages, I am editing the properties and giving them a Rollup Image. When I ...
2
votes
1answer
186 views

How to Roll back Sharepoint content editor webpart

I have content editor on my team site where I added several links. But today while adding some new links, content editor crashed. so now when I tried to open site containing content editor, browser ...
0
votes
1answer
55 views

Basic xslt: Hiding slots created from custom xslt

I've followed and managed to successfully implement this: ...
1
vote
2answers
722 views

Basic XSLT: Using contentquerymain.xsl for several CQWP's

Is there anyway of specifying a match condition to determine which CQWP is being 'passed through' the XSLT in main. Ultimately, I want to have a main.xslt file to serve several CQWP's but all must ...
1
vote
1answer
2k views

How to use Content Query by query string parameters

I need my Content Query Web Part to show some content which depends on a Value of a property. Now I had no problem doing it "statically", putting in the properties the filter like: Column is equal to ...
0
votes
2answers
167 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
1answer
140 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 ...
2
votes
2answers
3k views

jQuery - How would you display / hide content with a radio button based on a date?

I current have a list of items being pulled through in a Content Query Web Part. Onload, I would like to display the items from today onwards, and for this to be a radio button selected onload. The ...
1
vote
0answers
118 views

OuterTemplate.GetGroupName not working after October 2012 cumulative update

We have customized content query web part by using custom header style xslt and item style xslt which are configured using properties 'HeaderXslLink' and 'ItemXslLink' respectively. Also we are ...
0
votes
2answers
289 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 ...
3
votes
1answer
694 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
229 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…”. ...
5
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 ...
2
votes
1answer
623 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
70 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
194 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
179 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
46 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
427 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
751 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
905 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
156 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
571 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
222 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
561 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
738 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
1k 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
1k 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 ...
3
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
686 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
168 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
564 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
584 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
596 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
631 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 ...
1
vote
1answer
969 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
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 ...
1
vote
1answer
195 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
1
vote
1answer
926 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
224 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 ...