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)

0
votes
1answer
33 views

Sharepoint 2013 CQWP - Filter by Approval Status

I'm kind of stuck in a Content by Query Webpart. (Yes, i'm aware i'm on 2013, and yes, i could use Content by Search WebPart, but this is a standard edition, so no, finally i can't use CSWP) I would ...
0
votes
1answer
17 views

Is an editable content query possible?

I am using our SharePoint site as a learning management system for training newly hired employees. Our set us is a subsite that contains 25 site pages (one for each student). Each page contains a ...
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
1answer
34 views

Assigned To field won't populate using content query

I am using a content query web part to roll up a group of tasks to the higher level site. I am using a custom item style template. <xsl:template name="TasksView" ...
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" /> ...
0
votes
2answers
71 views

Display Custom Fields in a SharePoint 2010 Content Query Web Part

Using SharePoint 2010, Having Custom List With 4 Columns, Now I am Using Content Query Web-part To Display List Data ,But Currently It Display Only First Column, SO How to Display Custom Fields in a ...
0
votes
0answers
64 views

DataProviderJSON: Cannot convert object of type 'System.String' to type 'System.Collections.Generic.List`1

I'm getting this error, my JSON is well formatted. using (ContentBySearchWebPart box = GetControlByIDPath(ControlID, this.Page.Controls[0]) as ContentBySearchWebPart) { string ...
0
votes
1answer
28 views

Confused about Term Store for use in cross site publishing

I'm trying to use a content query webpart to show information on a list from another site collection. I've enabled the cross site publishing feature on the site that contains the list. I've enabled ...
0
votes
0answers
36 views

Custom web part configurations made programatically are saved, but not applied SP 2010

I am programmatically adding web parts (CEWP and CQWP) to pages and customizing some of the properties as well. When I deploy and run my code, the web parts are added to the page perfectly fine and ...
0
votes
0answers
30 views

Content Query Webpart - Display Website name

I have a Content Query Webpart in SharePoint 2010 where I get the items of two lists (from different websites) with setting the listsOverride property. Now I would like to display the name of the ...
0
votes
0answers
12 views

Missing picture HashtagProfile

I'm customizing HashtagProfile.aspx, using a modified CBSWP <h2 class="ms-hashTagProfile-tagFeed-title ms-webpart-titleText"><SPSWC:StringValue LocId="HashTagProfile_TagFeed_Title" ...
0
votes
0answers
35 views

Show list items with custom column using Content Search

I want to show all news items from my sub sites using a Content Search web part but I want to know how I create a query that can look at the lists and only choose those that have the "live" column ...
0
votes
0answers
5 views

Is it possible to show more than 6 Tags in the Refinement Section of 2013 Search Query Builder

Is it possible to show more than 6 tags in the refinement section of 2013 Search Query Builder? We have the problem that we can't find all the tags we need.
0
votes
0answers
14 views

Problem with parsing value in item style

I implemented content query webpart (CTWQ), which displays all items from a list. Inside Item Style, I pours gained data to a Json Object. This did not worked until I filled a special data inside a ...
0
votes
2answers
38 views

Package Content Query Web Part

How do I package a content query web part in a custom solution with its custom XSL? Do I need to store the xsl in style library's xsl style sheets folder? I just want to have a content query web ...
0
votes
2answers
32 views

Display a single post on a publishing site

I am using a Content Query Web Part to display Blog posts on my homepage(a publishing site). My question is how can I Compose my post URL to point to another sub-site(a publishing site also) and ...
0
votes
1answer
28 views

how to target a Custom Content Query Web Part order columns

I just made a custom CQWP and I am loading a PICTURE LIBRARY into the CQWP. I will like to target the first item in my picture library like this <xsl:if test="string-length($SafeImageUrl) != ...
0
votes
0answers
44 views

Pass Content Query Web Part ToolPart TextBox Value to XSL

I have extended the Content Query Web Part by adding a textbox control ToolPart. This is working, i.e. I am able to see the control, add a value in the textbox and save it. Is it possible to pass ...
0
votes
1answer
52 views

Itemstyle.xsl custom template

I have a custom template that I use for a CQWP with announcements. I have it set to truncate the announcement at 750 characters, then show a link with the text [Full Announcement]. The issue is when ...
0
votes
0answers
21 views

Property missing from cswp results

We are trying to do a custom control/item template layout to render results for cross-site publishing. We have made a proof of concept on a development test site that is working. When we try to ...
0
votes
0answers
43 views

Content Query Web Part Customization

In one of our organization's Intranet portal there are several Content Query Web Parts that has customized UI example a rotating banner, Latest News & Updates, etc. I am really confused how the ...
0
votes
1answer
61 views

Customize CQWP programmatically

Good morning! I am trying to customize a CQWP through Visual Studio. More precisely, what I have done so far is: Add OOTB CQWP to page Customize Query and Presentation fields CQWP is being ...
0
votes
1answer
49 views

Query rule results block with more than 10 items

Following this tutorial to have the faceted navigation on my site with two content search web parts on the page. I've got it working. I have one webpart called individual items that searches the ...
0
votes
0answers
50 views

XSLT on Person field allowing multiple values

I have a content query using custom XSLT that displays the user and his presence icon on the page.I got the XSLT from this link Here's a snippet of how I'm using it: <xsl:variable ...
0
votes
2answers
103 views

How do I create an news page in SharePoint 2010 and have feature articles on the home page?

I have been tasked with creating the home page of our department's intranet page. I am a beginner admin for SharePoint and need help with the following: My department needs a news page which will ...
0
votes
0answers
33 views

Custom field not displayed by content query on multiple lists

Here's the scenario: I have a bunch of lists on my site with similar columns, and I want to make some sort of a dashboard view that will aggregate all the items in these lists. I thought that a ...
0
votes
0answers
30 views

Content Query webpart - Infopath form link

I have added a content query webpart and I am pulling in content from a infopath forms library onto the page, this is working well but the problem I have when I click on the infopath form I'm being ...
0
votes
1answer
27 views

Help Fix CQWP column alignment issue

I have a Content Query Web Part (CQWP) which is pulling in links from a specific Content Type that I have on all subsites. All I need is the link and all of the data to be displayed in 3 columns. I ...
0
votes
1answer
166 views

XSL for CQWP to display Link List items

I am attempting to use the following solution from Marc D Anderson's blog to display LinkList data in a Content Query Web Part: ...
0
votes
0answers
23 views

Content Query webpart - Showing extra info

I have added the content query webpart to my page which shows the top 10 rated client documents from a document library called 'Client Documents' The columns I have created in the document library ...
0
votes
1answer
31 views

CQWP make path relative for Image

Hi I've added a CQWP and edited the item.xslt to provide a new Item Style. In the webpart properties (Fields to display) I've added columns for Image, Title and Description. The CQWP is expecting a ...
0
votes
0answers
23 views

SharePoint 2010 - CQWP - Page Layout - Manual Save Of Properties Fix?

I've been struggling with this issue for a while now and was hoping that someone may have a possible solution or can help me come up with an alternative answer. Code <?xml version="1.0" ...
0
votes
0answers
18 views

Help Fix Content Query Web Part column alignment?

I basically have a Content Query Web Part (CQWP) which is pulling in links from a specific Content Type that I have on all subsites. All I need is the link and all of the data to be displayed in 3 ...
0
votes
0answers
50 views

Style sheet - group by column

I am using a query content web tool to display items from a page library. The web part has a stylesheet applied to it to show only certain columns. I have create a calculated column based on the ...
0
votes
1answer
63 views

Unable to Edit Any Content Query Web Parts in Single Site Collection

When attempting to edit any Content Query Web Part on any page within one particular site collection (by clicking "Edit Web Part"), SharePoint displays a generic "An unexpected error has occurred" ...
0
votes
0answers
21 views

Fast Query Language wild card

I want to confirm my reading of wild card searching from the FQL syntax reference. Just a bit down the page in the Token expressions in FQL section it says: ...FQL supports prefix search... So ...
0
votes
0answers
83 views

Programaticlly change the query and the properties in content search web part

I have code that adds a Content search web part to a page. By this code. But the query doesn't return any results. I want that the query will bring data from a sub site on the same site collection. ...
0
votes
1answer
131 views

Add content search web part programmatically

I trying to add a Content serach webpart to a page by Activation feature. But im getting wrong web part when trying i want Content serach part to be able to query content from other parts in the ...
0
votes
0answers
31 views

Activity Feed Content Search Query

I would like to show all status updates/activities for users on the "intranet" homepage. I have tried the following: Tried using the site feed but it only shows activity from the site Downloaded ...
0
votes
1answer
105 views

Customize the layout of content query web part

I am working on a SharePoint 2013 std on-premise environment and trying to build a product catalog page. All I need to do is show up the products' picture and attributes on a page. I added a content ...
0
votes
1answer
104 views

Content Query Web Part: not returning assigned to field

I have a CQWP webpart in which I've configured the following set of fields to return from a Task list type (171 list): <property name="ServerTemplate" type="string">171</property> ...
0
votes
1answer
62 views

Can a Lookup list field point to web property bag?

In my subwebs I have a 1 row list called "Details" that contains various bits of data that are meant to be web-level metadata. Image field, AssignedTo field, couple of string columns, etc. On top of ...
0
votes
1answer
37 views

CQWP - Raw XML Field Title

I am modifying CQWP to show items in custom way. I found that raw output does not have column title instead has id, like following: ...
0
votes
2answers
141 views

CQWP: How to count rows per category

I have a CQWP that returns all draft items in a single library, grouped by "Modified by." I would like to display a count of draft items next to each user's name. I know how to edit Header.xsl, and ...
0
votes
0answers
65 views

dynamic filtering for content query webpart

In first i'm in sandbox solution. as in my title, i need to filter dynamically the content query webpart. I found a lot of farm solution like overriding content query webpart and onload methhod but i ...
0
votes
1answer
352 views

Alternate List Row Color in WebPart Content Query

XSL File : Created Custom Template Style <xsl:template name="Custom" match="Row[@Style='Custom']" mode="itemstyle"> <xsl:variable name="SafeLinkUrl"> ...
0
votes
0answers
53 views

SP2013 - Static item in Content Query Web Part?

On our main page of our SharePoint implementation, we have a CQWP called Spotlight. It's displayed as a banner slider with paging buttons on it. It will only ever show 7 of the most recent Spotlights. ...
0
votes
0answers
73 views

calculated column filters content query web part

When I apply a filter on a calculated column, it crashes on applying. Could you please let me know how to go about resolving the issue?