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

Can't read Enhanced Rich Text field value from CQWP

I'm trying to read the value of a multi-line, enhanced rich text field from a content query web part using a custom ItemStyle template in SP 2010. Even though it has a value, it keeps coming back as ...
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: ...
2
votes
1answer
538 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 ...
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?
2
votes
1answer
618 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
606 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
1answer
626 views

Content query web part group by sort

When I enable grouping in the CQWP I can sort in either ascending or descending order based on the values in the field by which I'm grouping. How do I customize that sort order? For instance, let's ...
2
votes
1answer
472 views

How to specify [Now] in content query web part

I currently have a content query web part that has a filter on it to show items that have a published date less than or equal to [Today] and it works great. The problem is I'd like to change this ...
2
votes
1answer
255 views

Self Referencing Related Documents Library Through Lookup Column

I am trying to create a single document library that links to documents in the same library in SharePoint 2010 Server. I've created a multi-value lookup column that references the same library to ...
2
votes
1answer
604 views

CQWP rating control not working

I have got CQWP to display the rating control for items in a video library. I used fldtypes_Ratings.xsl to call the template in my custom Itemstyle.xsl. I managed to show the starts but its not ...
2
votes
1answer
94 views

Splitting ItemChildCount

Does anyone know how to just return the # of replies value from the built in SP field ItemChildCount? It seems to store the values as a delimited string with the ID of the item associated as a reply ...
2
votes
2answers
1k views

Use Managed metadata with the Content Query Web Part?

I'm trying out the Content Query Web Part in Office 365. However, I want to use Managed metadata as a criterion to filter on, but I don't see any of the Managed metadata columns I have created in ...
2
votes
1answer
106 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 ...
2
votes
2answers
4k 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 ...
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 ...
2
votes
1answer
982 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 ...
2
votes
2answers
150 views

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
2answers
2k views

How to display document approval status in a content query web part?

I have this XSLT to display document title and approval status <xsl:template name="DocumentStatus" match="Row[@Style='DocumentStatus']" mode="itemstyle"> <xsl:variable ...
2
votes
1answer
740 views

Internal Name not working in Content Query Web Part on SPS2007

I'm trying to get and display list columns in the Content Query Web Part. Unfortunatley, some of these column names are like "WEC_ArchiveDate" or "My Categories". So I find the internal SharePoint ...
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 ...
2
votes
0answers
22 views

XSLT, regex and RenditionID

I'm sort of new in XSLT, and i need some clues, if you're willing to give me some... What i want: In a CQWP, i want to display items' images, with a certain rendition ID. But, when retrieving the ...
2
votes
1answer
43 views

Importing CQWP second time changed the Field name to a Guid

I have a publishing site in 2013, pretty much OOTB. It has a news section as well which is where I created a bunch of news articles and everything is published. I then went to create a CQWP on the ...
2
votes
0answers
69 views

Customize Content Query Web using Internal Names not guides

I am trying to configure the Content Query Web Part to show my custom fields defined in the underlying content type. The following code snippet is placed in a custom template in the ItemStyle.xsl ...
2
votes
2answers
127 views

Publish content from a subsite to the parent

I'm trying to work out if I can publish page content from a subsite upto the parent site. I want departments to have their own subsite where the manager can enter what's happening on the department ...
2
votes
1answer
105 views

How do I create a custom calendar using the Custom Content Query Webpart?

I currently have two sites right now, a Parent Team Site and a sub team Site. I am trying to use the content query webpart to pull the Calendar entries from the sub team Site into the Parent Team ...
2
votes
0answers
138 views

CQWP display custom field from all lists in subsite

I am trying to build a CQWP to display custom fields on list items from several lists in a subsite. So far i have configured the CQWP.webpart file to display the custom field when i query by "Show ...
2
votes
0answers
106 views

XSL returning only XML result

I'm attempting to use a Content Query webpart to display a calendar but instead of getting a styled result I get an XML result that looks like this: <dsQueryResponse> <Rows> ...
2
votes
2answers
1k views

In a ContentByQueryWebPart, how to generate a link to the item's display form?

I'm building a custom Xsl to customize the rendering of a ContentByQueryWebPart. This webpart is targeting pictures In the results, I would like to generate a link to the corresponding dispform.aspx, ...
2
votes
0answers
64 views

Linking publishing's xsl files?

I'm working on customization of some ContentByQueryWebPart. This customization consists in defining custom contentquerymain.xsl and itemstyle.xsl file. However, from one customization to another, ...
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 ...
2
votes
0answers
38 views
2
votes
1answer
256 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 ...
2
votes
0answers
1k views

SP2010: Strange Content Query Web Part Behavior - Inconsistent results between users

I'm experiencing some very strange behavior with a content query web part. The web part uses no customised XSL, and is a simple query of "All sites in this site collection, from a Document Library, ...
2
votes
1answer
170 views

Visual Upgrade and CQWP

We have upgraded two similar farms (one development and one test). The branding/design is identical and both farms are using Visual Upgrade. The farms have different versions of ...
2
votes
1answer
615 views

SharePoint Content Query Web Part Group By, expand/contract

On my SharePoint 2007 site, I have a custom list. This list has a column "status" (with values "open" and "closed"). I can create a view on the list that groups by "status", and the view creates nice ...
2
votes
1answer
497 views

aggregate data source and pseudo join?

Is it possible to use the aggregatedatasource to show all "parents" and theirs "children" where at least one "children" is created by the current user ? To be more clear, imagine the following : ...
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 ...
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 ...
1
vote
2answers
10k 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
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
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
3k 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?
1
vote
1answer
3k 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 ...
1
vote
1answer
211 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
4answers
909 views

How to embed a CQWP into a master page or DelegateControl

I'm looking for a way to embed a pre-configured Content Query Web Part into a master page. In short, I have a SharePoint:DelegateControl on the master page and I want to plug the web part into it by ...
1
vote
1answer
299 views

Content Query Web Part only displays thumbnail images

I have a default Picture Library with some images in SharePoint 2013 online. I want to display a list of these images using the Content Query Web Part. This is working fine, except for the fact that ...
1
vote
2answers
1k views

Is there any way in SharePoint to make a Content Query Web Part hidden if no content returns?

Right now I was trying to configure a content query web part so that if nothing returned from the query, the web part was hidden (or not returning at all). Title and everything included. Is there an ...
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 ...
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
280 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 ...