Tagged Questions

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)

4
votes
2answers
1k views

How to open documents in browser from a ContentByQueryWebPart (SP2010)

In our current SharePoint 2010 solution, opening documents directly from the document-library works just fine, but when I click on the files through a CQWP, this doesn't work. Instead, the standard ...
4
votes
1answer
3k views

Content Query Web Part Error Message - 'ddwrt' is not defined

I'm following this web article on configuring content query web part - http://erikswenson.blogspot.com/2010/03/sharepoint-2010-content-query-for-blog.html When I try to add this line to my xsl ...
2
votes
2answers
3k views

How can I filter a content query web part reading from a task list to include only tasks assigned to current user?

I have an intranet based on SharePoint 2010 that uses Active directory for authentication. I have a Content Query web part that display tasks from the tasks lists. All users have access to the tasks ...
2
votes
2answers
5k views

Changing the link in a Content Query Web Part

I have added the Content Query Web Part to my page. I've hooked it up to a custom list that I've added a Url column to. The list is displaying on my page, but the link goes to the list item ...
3
votes
2answers
841 views

Can I change the bullet image that is used in the Content Query Web Part?

Is it possible to change the bullet image in the content query web part from within the Content Query Tool Part window that opens when you select Edit Web Part? If not is it a good suggestion to use ...
4
votes
1answer
2k views

Content Query Web Part not rendering calendar list description field

We have a SP2010 site that we are making extensive use of the CQWP (Content Query Web Part) on. When I point the CQWP at a specific list it displays description value fine. The problem is when I point ...
2
votes
3answers
3k views

Can I dynamically filter CQWP results using value from a Cookie?

I am able to filter the CQWP Results using the query string by using the keyword (PageQueryString) (reference: ...
10
votes
1answer
1k views

Localizing the Content Query Web Part in XSL

Has anyone managed to get the locale ID for the context of an instance of a Content Query Web Part in XSL, without extending the class? DataViewWebParts have a Language parameter passed in, but CQWP ...
1
vote
2answers
9k views

How to format the date column in itemstyle.xsl

I'm editing the itemstyle.xsl to produce my own styling for a Content Query Web Part (CQWP) as follows: (NB - 2 laternative lines of code are shown as (A) and (B) <xsl:template name="MyNewStyle" ...
1
vote
2answers
560 views

Link a Content Query Webpart column to a meeting workspace

I have created a CQWP which queries a Meetings calendar. It groups the contents by month in date order and displays these columns: Meeting Date, Start Time, Meetings Title and Location. I would ...
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. ...
1
vote
1answer
97 views

Sharepoint - Custom ItemStyle in a new file

how can I customize the presentation of a Content Query Web Part by modyfing the xsl it uses without touching ItemStyle.xsl but using a brand new .xsl file? I'm using MOSS 2007. Thanks
2
votes
1answer
523 views

Sharepoint - CQWP to point to current site

In an ONET.XML file I build a page with a CQWP. The CQWP has a WebUrl property is there a way to set this to alway be the the current web? I tried this but it didn't work.s ...
1
vote
2answers
314 views

Sharepoint - Provisioning xsl Style Files

I'm trying to provision a .xsl file with custom styles to be applied to a Content Query Web Part in SP 2007 MOSS. I want to deploy it in a feature. So far any attempt has failed as I cannot retrieve ...
1
vote
3answers
1k views

content query web part versus custom web part

In a publishing site, I want to create a webpart that display the result of a query with a custom display (a kind of rotator). As the goal of the web part is to be reusable and must be quite simply ...
1
vote
3answers
1k views

How do I render a Reusable Content item from a page template?

In a SharePoint publishing site, what do I need to include in my layout file to make it render the Reusable HTML from a specific item in the Reusable Content list?
3
votes
4answers
795 views

CQWP Link to List Item

I cant seem to get my custom CQWP to link to a list item. If i look at everything exposed in the CQWP (using the showxml trick) the only thing close is the LinkURL which takes the format ...
2
votes
2answers
848 views

Content query webpart between different web applications

I am looking to present content across different Document Libraries from different Web applications. Is there a custom Content Query Web part existing?
0
votes
1answer
783 views

No New WebPart Properties when Extending the CQWP!

I'm adding some functionality to the ContentQueryWebPart by inheriting from ContentByQueryWebPart... but when I try and add a new WebPart Property, the actual field does not show up when I edit the ...
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?
1
vote
2answers
475 views

When to (and how to) use CQWP, DVWP with sensitive documents

We have a certain need. In a SharePoint site, sensitive documents are collected as attachments to lists that contain business task data. A group needs to see what the disposition of those documents is ...
0
votes
1answer
418 views

text /content search in Share point 2010 documents

I have to make my search text enabled with inside of documents, I mean search "abc" which is written in a "XYZ.docx" of document library. Please let me know How can we achieve that ?
1
vote
1answer
159 views

How to package a CQWP With its required XSL files as a SP feature?

Is there a simple way to package a CQWP with its required XSL and CSS ( and maybe js) files as a feature? The scenario I have is that i have some components in a WCM page that are implemented as OOTB ...
2
votes
1answer
2k views

Content Query Web Part - No Results

How can I setup the display for a content query web part when no results are returned?
1
vote
1answer
796 views

Content aggregation: Same document library in several subsites into one big document library in main site

Let's say I have a main site collection with three subsites each having one document library: MainSite SubSite1 (myDocLib) SubSite2 (myDocLib) SubSite3 (myDocLib) I want three subsites for ...
0
votes
1answer
413 views

Should I use the XSLTListViewWebpart (Alternative3) or go with Alternative 1 or 2

Say I have the following site hierarchy: -Home - All Projects - Project123 - Project456 - Project789 - ... At the "All Project" site I need to show a list of all projects ...
2
votes
2answers
1k views

Content Query Web Part additional filters

I've been working on a SharePoint intranet implementation and have been trying to use the CQWP to aggregate a number of announcement lists throughout our site on the homepage. I've been using the ...
4
votes
3answers
2k views

Taxonomy field doesnt always show up in CQWP filter

I am using two new features in CQWP to list "related items" in a web part: Taxonomy field filtering is used to match the current pages taxonomy value given dynamically by ...
2
votes
1answer
615 views

Best 2010 Content Query Web Part

There are already a whole lot of query/roll up webparts from 3rd party vendors on the market. Evaluating each on of these though is very time consuming. I'd therefore appreciate anybody sharing their ...
2
votes
3answers
594 views

How do I exclude list items created by certain users with the Content Query Web Part?

I have a custom list created in SharePoint 2007 and displayed by a Content Query Web Part. I would like to: Show all items to general admin users except those items created by two users. The two ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
0
votes
3answers
2k views

Content Query Web Part (CQWP) fails to show picture items from a document/picture library in an anonymous site

I have a Picture Library and am trying to use the CQWP to display a list of items in the library. The web part shows the items fine in authenticated mode, but it fails to show the items to anonymous ...
2
votes
1answer
3k views

Content query web part filtering on multiple content types

Is it possible to use the Content Query web part to filter on multiple specific content types that do not have a parent/child relationship? I have a requirement to show Events (from a calendar) and ...
1
vote
1answer
1k views

Get ReusableHTML from reusable content via Content query webpart

I'm trying to create a view of stuff from my reusable content list. Basically I am storing global links within the reusable content list. I'm struggling with the content query webpart, because it ...
0
votes
2answers
593 views

Showing sites in Site Collection using a CQWP

Does anyone know the best way to display a listing of sites within a Site Collection using a Content Query Web Part? I know that you can query content types but what would be the best way to show ...
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
1
vote
6answers
6k views

SharePoint 2010 CQWP and Managed Metada columns

I am trying to use a content query web part on SharePoint 2010 Server and filter on site columns of type "Managed Metadata". These columns do not show up int the available columns drop down in the ...
6
votes
1answer
17k views

How to enable Content Query Web Part on SharePoint Server 2010 Standard?

I'm working with a new site collection in SharePoint Server 2010 Standard created using the Blank Site template. I would like to add a Content Query Web Part to one of my web part pages, however, ...
1
vote
2answers
254 views

Question about Displaying Documents and the CQWP in MOSS 2007

My organization is in the process of converting our intranet over to a SharePoint solution. Part of this intranet will be the movement and organization of all our internal documents. Currently, we ...
1
vote
2answers
6k views

Display a rich text column in a content query web part

Using SP2010, I have a list containing a column with rich text (i.e. contains html). I would like to display this column using a content query web part - but when I do, it displays the actual html, ...
1
vote
2answers
795 views

CQWP cannot find Body field in the Announcement content type

I can create a CQWP for the Announcement content type, but when I export the .webpart and add <property name="CommonViewFields" type="string">Expires,Date;Body,text</property> In my ...
3
votes
3answers
2k views

Finding the Current User login in a Content Query Web Part?

I have the unique requirement of needing to get the current user's id (domain\logon) for use within a Content Query Web Part. If no documents are retrieved with the CQWP I need to craft a custom url ...
2
votes
2answers
1k views

Web Part to Show Libraries and Contents?

Is it possible from the MOSS 2007 OOTB web parts with no custom code of any sort to create a view of all document libraries on a given site expanded to show all folders and documents within it? ...
6
votes
4answers
1k views

Content query web part - include data from multiple lists

Is it possible to show data from two lists in CQWP? I am having this site setup. Department site -project site 1 -project site 2 -project site 3 - ... Every site is having a blog. I want to show ...
1
vote
5answers
826 views

Content Query Web Part forgets that limit is not set?

I have a CQWP that shows content from a list. Initially the standard limit of 15 elements was applied but now the need was to show all. Problem is that only every 5 or 6 times the web part shows up ...
1
vote
3answers
620 views

Using Content Query Webpart to pull back item from a Reusable Content List

Ok so I am currently trying to use a content query webpart to pull back an item from a reusable content list but it just doesn't seem to work when i use reusable html. Can someone please verify if ...