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)

6
votes
0answers
973 views

Content Query Web Part - Multiple (repeated) additional filters

I am creating a Content Query Web Part as part of a feature receiver (feature activated), and adding it to a publishing page. The purpose is to filter on the Approval Status field for a Calendar ...
3
votes
0answers
648 views

Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP

I have a CQWP with the Parameters: Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;| Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;| ...
2
votes
0answers
33 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
41 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
0answers
75 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
0answers
159 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
117 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
0answers
65 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
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, ...
1
vote
0answers
30 views

CQWP not showning fields to display

My Content Query Web Part does not display anything under "fields to display" I've been adding custom xsl:template <xsl:template name='MyStyle' match="Row[@Style='MyStyle']" mode='itemstyle'> ...
1
vote
0answers
5 views

Infopath and Excel webpart connection without writing code for SP 2013

We recently migrated to SP 2013 from 2010. I built InfoPath forms to be integrated with Excel, but now in SharePoint designer 2013, features are missing to create data connections with writing code. ...
1
vote
0answers
34 views

XSL Picture Library File Location

I'm creating a custom XSL template that can be used to show pictures in a gallery format on any list specified. I am having trouble dynamically getting the image location though. I read the ...
1
vote
0answers
11 views

Term driven pages not working when term is more than one word

I am using term driven pages in my Enterprise wiki site and have connected the target page. In the page template I am using the Content Search web part to display items in the wiki site that use the ...
1
vote
0answers
27 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 ...
1
vote
0answers
26 views

Unable to edit CQWP within publishing site

When I add a Content Query to any page within a 2010 publishing site collection, either via checked-out page edit (Wiki or BWP page) or via SPD, I receive an error when I attempt to edit the webpart. ...
1
vote
0answers
30 views

Change Custom List ID

I am looking to query a custom list that exists in many sub sites. Using either the CQWP or a DVWP I'm running into the list limit. As the ID is 100, there a lots of custom lists (not just limited to ...
1
vote
0answers
56 views

How to filter listview using webpart?

We have a list view webpart on a page. I want to create a textbox webpart and pass data into the list view webpart and filter it based on this data. Is there OOTB method? Or do I develop a VS ...
1
vote
0answers
63 views

CQWP grouping with custom order

Can anyone show me how to customise the order that the CQWP 'Groups By", We group Project Sites by Project Phases(from each project site List) and that's all good- but we need them in a specific ...
1
vote
0answers
90 views

Content Query Web Part: additional filters do not load checkbox column

Background: I just migrated a site collection from SP2010 to SP2013. There is a custom content type "News" defined. The content type seems migrated without issue. In the "News" content type there is ...
1
vote
0answers
360 views

SharePoint 2013 Online CQWP, using design manager can't filter on a managed metadata column

I reviewed a lot of articles and couldn't find anyone talking this issue. My issue is when I use Design manager to create a CQWP snippet, I always get error message when try to filter against a Page ...
1
vote
0answers
158 views

CQWP does not return result for a specific query when filtering on a managed metadata field

We are facing a serious production issue. We've search the web extensively but to no avail. Problem: CQWP does not return result for a specific query when filtering on a managed metadata field. ULS ...
1
vote
0answers
95 views

Multiple subsite lists but need them to be linked into Access in one master table

I have multiple subsites each containing some project template lists (e.g. risks, issues, tasks, etc.) I have a quite developed solution in Access with a few of the Sharepoint tables linked into it so ...
1
vote
0answers
244 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
182 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 ...
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 ...
1
vote
0answers
95 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 ...
1
vote
0answers
442 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 ...
1
vote
0answers
204 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 ...
1
vote
0answers
302 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
0answers
46 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 ...
1
vote
0answers
417 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
0answers
159 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
0answers
325 views

Filter a CQWP on a Lookup Column

I'm creating a custom page layout that contains a CQWP that I'd like to display documents related to the page. The document library has a lookup column that relates to the page title in the Pages ...
1
vote
0answers
149 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 ...
1
vote
0answers
79 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) ...
1
vote
0answers
207 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
48 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 ...
1
vote
0answers
301 views

Content Query Web Part not displaying image correctly

I was changing columns and content types to create a custom area in a page layout so to add a summary area on the article page Somehow I changed one of the content types and now content query web ...
1
vote
0answers
75 views

Weekly Email from content query web part

We have several announcement lists we want to consolidate into a single weekly email - we do not want X separate emails being sent to each user. We can roll them up into a content query webpart but ...
1
vote
0answers
42 views

Which Web Parts should get installed in SP2010 Update?

Per Dave Wise's answer(http://sharepoint.stackexchange.com/questions/13110/get-web-part-name-from-guid): Thanks, that worked great. However, even though my SQL Query returned 9000 results, about 18 of ...
1
vote
0answers
448 views

2010 Recent sub Site Wiki Page Changes Rollup with Content Query webpart

I have a my SharePoint 2010 enterprise implementation. I am trying to implement a Webpart in a site that shows all the latest changes from a sub site wiki libraries. Unfortunately the result set is ...
0
votes
0answers
16 views

Display data of list in Grid view using Content Query Web Part(CQWP)

I need to display my SP List records into the grid view by using Content query web part. I have tried to display in html table by adding template in ItemStyle.xsl. But now i want to show in grid view. ...
0
votes
0answers
6 views

contentquerywebpart crashes sandbox webpart

i have a sandbox solution webpart and a contentquerywebpart on a page. when i edit the contentquerywebpart and hit the Ok or Cancel button on the edit webpart panel, i get the following error in my ...
0
votes
0answers
9 views

Department of a person is empty in content search web part's display template.

I have a Content Search Web Part with result source "Local People Results (system)". I get all the users(people) in result of web part. But I can't get the Department of a person. It always gives ...
0
votes
0answers
17 views

Webpart with parameter binding injected into CAML query?

I'm trying to do a custom webpart that takes in a query string parameter and inject that parameter into a CAML query. Is this legal? <ParameterBinding name="QuerystringBinding" ...
0
votes
0answers
14 views

Use a web part list item as element class

I'm trying to use the line of code below to dynamically retrieve and insert a a list data as class to an element but it prints it as a code instead. Any Ideas on how I can achieve this. list column ...
0
votes
0answers
14 views

FileDirRef Not Working

I am making an XSL template for a CQWP and would like to make a relative URL. @FileDirRef seemed like a good fit for this however it doesn't return a value. Is there something I need to do to make ...
0
votes
0answers
15 views

Embedded CQWP returning XML with GUIDS instead of field names

I'm embedding a CQWP into a custom master page with the following: <WebControls:ContentByQueryWebPart runat="server" ItemStyle="Default" GroupStyle="DefaultHeader" ...
0
votes
0answers
22 views

Multiple additional filters in for a subsite in SharePoint 2013

As the CQWP (Content Query Web Part) can only have 3 additional filters, I'm looking for an alternative where I can apply 4 complicated filters. To further explain what I need to do is as follow: ...
0
votes
0answers
11 views

mapping columns in CQWP

I have a content query web part, with custom item style template, I defined variables in the templates as : <xsl:variable name="myfield1"> <xsl:value-of select="@myfield1" /> ...