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

SharePoint 2007 CQWP Limitations:

Morning all, I'm using SharePoint 2007 Standard SP3 I'm interested in getting some opinions on the best way to surface content from one part of a SharePoint 2007 site collection into another. I ...
2
votes
4answers
4k views

Use custom columns with Content Query Web Part

I'm trying to use custom metadata columns with the Content Query Web Part. I finally figured out that I apparently needed to export the .webpart xml file, edit it and then import it as a new web part. ...
2
votes
1answer
220 views

Group By Last Modified Date in XSL or Content Query WebPart

I need to diplay the result of my content query webpart as follows: Date modified 1 TitleTitle Date modified 2 Title Title Title I know you can't do a group by on the last modified date in de content ...
2
votes
1answer
230 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 ...
2
votes
1answer
1k 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
559 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
620 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
611 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
800 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
575 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
288 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
679 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
99 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
108 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
997 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
162 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
785 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
56 views

Set view fields in content query web part programmatically

I am using the code below to update a web part on a home page, it sets the correct settings but when I go to the page with the web part it doesn't pick up the links from the Navigation list. What I ...
2
votes
0answers
38 views

How to make CQWP retrieve 4 most recent Items in the whole site collection?

I'm a little stuck with one of m Content Query Web Part: On my homepage, i would like to display the 4 most recent items added to my site collection in a Content Query Webpart called "What's new?" So ...
2
votes
0answers
69 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
49 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
81 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
180 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
121 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
182 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
130 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
2k 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
67 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
269 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
659 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
531 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
11k 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
1answer
4k 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
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
99 views

Display Web-part data on all pages

Still pretty new to share point. I'm trying to get the data of a web part to display on every page but don't know how. Any ideas on how I can do this. Thanks in advance.
1
vote
3answers
4k 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
216 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