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)

1
vote
0answers
175 views

Sort Content Query Web Part By Date

I am having some problems sorting a content query web part by date. I have referenced the post below and added the below property to the webpart, but it doesn't seem to be having any affect. ...
1
vote
0answers
151 views

Display Friendly URL in Content Query Web Part

I've got a news page where a Content Query Web Part (CQWB) is showing the latest news (Article Pages, sorted by date, with byline and picture) and it works very well. But now we're making the site ...
3
votes
2answers
5k views

How to show additional fields within the Content Query Web Part

I'm trying to use the Content Query Web Part to display all the tasks within a site collection, I've attached images of the Web Part properties and final output below. I'm looking for information on ...
2
votes
2answers
150 views

Query list types using CAML in CQWP query override?

When you export a Content by Query web part and open it up there is the <property name="QueryOverride" type="String" /> tag which allows you to put in your own CAML query to specify further ...
1
vote
0answers
32 views

Common view using content query part

The master document library has 100's of documents (with taxonomy as one of its metadata) Based on the the taxonomy selection i need to show only few documents in a separate view. The user should be ...
3
votes
1answer
61 views

Display Content Query output as if it is its own Document Library?

I have a Content Query Web Part that displays certain documents from a Document Library based on metadata. But how can I get it to display as if it is it's own document Library? i.e. with column ...
0
votes
1answer
288 views

content query webpart, query filter on a hidden field?

i am using o365, and building a sharepoint 2013 Online website. i have created a column in my contenttype. I set This column hidden. i dont see This column when i try to add a query filter on my ...
4
votes
1answer
147 views

Sharepoint 2010 - How to prioritise/highlight Managers in a Search Core People Search?

I am using People Search Core Results in Content Query Web Parts to display departmental staff directories. A request that comes up regularly from users is to be able to make the Team Leader or ...
1
vote
1answer
328 views

How can i use ViewFieldsOverride property in CQWP Programatically? It will be great if with example

I am creating ContentQuery Webpart programatically, To improve the performance i am following the below ...
2
votes
1answer
68 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 ...
0
votes
1answer
149 views

CQWP, CommonViewFields, column with swedish special characters does not go to xsl

I have a CQWP that i want to use to rollup list information from som sub sites, the lists contains columns that are named with Swedish characters: Å, Ä, and Ö. Have in mind also that I am doing this ...
1
vote
1answer
300 views

CQWP and ViewFieldOverrides

I'm having trouble with ViewFieldOverrides in CQWP. I'm showing a CQWP that rolls up Discussion Items and the Site they belong to. I can get my needed properties using @LinkUrl and "URL" as the slot. ...
2
votes
1answer
569 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 ...
1
vote
0answers
89 views

Show part of body text of a blog post in publishing site

I have a publishing site, under it there is a blog sub-site. I'm showing the posts from the blog site on the publishing site using a Content Query web part. But I'm only able to show the the titles of ...
0
votes
2answers
642 views

How to Give Custom ItemStyle.xsl Path in CQWP of subsite?

I have CQWP that is in the SubSIte.I want to give it Custom ItemStyle.xsl path.I had done it by following Link. <property name="ItemXslLink" ...
1
vote
0answers
394 views

SharePoint 2013: CQWP Link slot not grabbing item hyperlink

In SP 2010 you simply had to add URL [Custom Columns] in the Link slot to have it use that as the hyperlink address for the displayed items. This no longer appears to be the case. When I enter that as ...
2
votes
1answer
427 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 ...
0
votes
1answer
54 views

Customization of List on User Group bases

I have created a custom list in SharePoint 2010. I like to do the customization of this list by user who is logged in. Ex: If User "A" is from Super Admin Group. He/she is able to see All Data of ...
1
vote
0answers
180 views

Content Query, TaxonomyFieldTypeMulti and XSL transformation

I have something like the following in my Taxonomy Term Store: + [Managed Metadata Service] + Earth (Group) + Continents (Term Set) + Europe (Term) - Italy (Term) - France ...
0
votes
1answer
501 views

How to group list item by month and year using xslt

I have created XSLT to display all news archive using Content query webpart in sharepoint 2010. Currently the list display the record ordered by Created date ASC. I would like to know how i can ...
0
votes
1answer
337 views

Always show Header&Footer in Content Query WebPart

I want to add an header and a footer to the data displayed by a Content Query wp using SharePoint Designer. I had been following the following tutorials: Link 1 and Link 2. It works fine but the ...
0
votes
1answer
22 views

XSLT query coming up as false

Any ideas why query results is coming up as false, although values are the same? <xsl:value-of ...
0
votes
1answer
164 views

Excluding specific files from Content Query

I have a content query web part that displays all the latest documents added to a site collection but there are one or two occasions where a file will be uploaded that the user doesn't want advertised ...
1
vote
1answer
49 views

CQWP resets to default

I am having problem using CQWP on one of my page. You know under "Query" in CQWP you get 3 options: Show items from all sites in this site collection Show items from the following site and all ...
0
votes
1answer
93 views

CQWP rendering items like http://site/Lists/item/2_.000

I have a content query webpart, it's rending item url as http://site/Lists/item/2_.000, I have to edit the webpart and remove the value of the Url Path, from the link field, then it will work fine, ...
0
votes
2answers
618 views

Content Query Web Part cannot use metadata with multiple values?

I have a metadata set which is part of a content type attached to multiple document libraries throughout my site collection. This metadata set allows multiple values. The metadata set isn't showing in ...
0
votes
1answer
86 views

2013 CQWP with tables and multiple link

I have an Item Style I created that displays items in more of a table list format rather than a linear one. I am also trying to display the Title link for the item as well as link for a hyperlink ...
0
votes
1answer
102 views

What is the best method to use your own itemstyle.xsl on a CQWP?

Im using sp2010. I have created programmatically a module where I copy my custom itemstyle.xsl. I named it customItemStyle.xsl. How can I programmatically set this customItemStyle.xsl file as default ...
1
vote
1answer
180 views

ContentByQueryWebPart and numeric field display as integer

I have a site column: <Field ID="{4BB20187-638A-47A6-96EF-FFE1CA5A9A2C}" Name="NumberOfPlacesRequested" CanToggleHidden="TRUE" StaticName="NumberOfPlacesRequested" ...
1
vote
1answer
328 views

How to set ItemStyle of content query web part programmatically?

I have added a content query web part from visual studio and I am displaying the data from a document library of root site. I want to set the ItemStyle property to Title and Description and assigne ...
0
votes
2answers
264 views

Unable to fetch data in CQWP programmatically

I have added a CQWP from visual studio. In that web part, I want to fetch the document names of the document library named "Sample Docs". My code for doing so is as follows: static void ...
0
votes
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?
0
votes
3answers
127 views

How to query data for CQWP?

I have added the CQWP successfully to the web part page programmatically. Now I want to query data for that web part i.e. I want to display the title of the file from the document library. My code ...
0
votes
1answer
435 views

How to add CCQWP programmatically in SharePoint 2010?

I need to add the Content Query Web Part programmatically in SharePoint 2010. I exactly don't know how to do that. I searched over the internet but not find the exact post anywhere. I got this post. ...
0
votes
1answer
2k views

How to format Date in Content Query Web Part?

I have a CQWP in which I am querying the data from a document library. ItemStyle being used is "Title and Description" Title displays the title of the Document and the in Description I have given a ...
1
vote
0answers
256 views

Possible to create an 'Updated!' icon similar to the 'New!' icon?

The company intranet I am developing in Sharepoint 2010 has news articles that can remain featured on the front page for a long time, but is updated regularly. Is it possible to set up an 'Updated!' ...
1
vote
1answer
472 views

Content Query Web Part select from more than one type of list/library

I have a CQWP that is pulling all recently added list items as a display of, "What's new" on a site collection. The problem I have encountered however is that the CQWP's query has to have a default ...
1
vote
0answers
42 views

CQWP-Opening Excel Links through XLViewer

Just wanted to get some help with this CQWP issue. So I have a CQWP that pulls Excel and other files from multiple document libraries based on a filter. The document libraries are set to open files in ...
0
votes
0answers
38 views

Content By Query Web Part Exception

I have a particular situation with CBQWP on a page. Whenever I add a new CBQWP to the page, and click save, an SPWeb not closed exception is raised. I have nothing on this page, except two CBQWPs. As ...
1
vote
0answers
357 views

Error when trying to edit Content Query Web Part in SharePoint 2013

I have a CQWP on my publishing site welcome page. When I go to edit the web part, I get a "Sorry, something went wrong. An unexpected error has occurred." screen along with Correlation ID: ...
1
vote
2answers
127 views

How to connect two lists and produce customized reports

I have two lists. The first list, 'Suppliers', is a list of suppliers with the various contact information. The second is 'Ratings' this contains a lookup of the supplier name and various number ...
0
votes
4answers
3k views

how to display fields in site from content query webpart in sharepoint 2010

Hi I am adding a content query web part in one of my sites and in query property I am setting the required content type and its related property but I want to display the fields in the site from ...
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
0answers
136 views

CQWP bind sorting with query string

Is there a way to use PageQueryString in CQWP to control the sort order and sort by behavior? I am trying to implement this kind of sortable and filterable table with pagination: Would it be ...
1
vote
1answer
107 views

CQWP for set of libraries (instead of items)

I have a Team Collaboration site which has multiple document libraries. I have created a custom content type, so the team members can add more libraries in future. Since the set of document libraries ...
1
vote
1answer
173 views

Group template in Header.xsl not working

I have the following template in Header.xsl file: <xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header"> <div class="row"> <div class="columns large-4 ...
1
vote
2answers
758 views

Library name in Content Query Web Part

I am fetching items from all Form libraries in a site collection and displaying name, Document Id (service is enabled in site collection features) and name of the person who submitted the form: Form ...
1
vote
2answers
1k views

Not able to add column in content query webpart

I have one root site and three sub - sites each contains document libraries in it. I put the content query web-part in the root site querying to the sub-site's document libraries. My problem is that ...
0
votes
1answer
36 views

“Detail” column not being displayed from List

I have two lists: News Events Both lists contain the following two columns: Title (Single line of text) Detail (Multiple lines, Plain text) I am displaying News on News.aspx page using ...
1
vote
1answer
293 views

Extend SP 2010 Picture Library Slideshow webpart

I have picture library at the root site which feeds input for OOTB Picture Library slideshow webpart. I have a requirement to have Slideshow webpart on subsites as well with the same pool of pictures ...