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
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
1answer
23 views

Error in Content Query Web part

I am facing the issue when adding a content query and configure its properties to select a list I get the attached error.
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
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 ...
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'> ...
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 ...
1
vote
3answers
87 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.
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 ...
2
votes
2answers
51 views

List Throttling Threshold Workaround for CQWP?

Is there a good way to get around the list throttling threshold? Here is my scenario: We have our top level site in a site collection with department sites beneath it. A few of the department sites ...
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. ...
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 ...
0
votes
1answer
25 views

How To Display Custom Columns Data On Publishing Page Using Content Query WebPart? [duplicate]

How to display custom columns' values in Content Query WebPart? Currently I have a Custom List with 3 columns Title, MobileNo and Address. Content Query WebPart Only Displays First Column's value ...
1
vote
0answers
33 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 ...
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" ...
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 ...
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" /> ...
1
vote
1answer
40 views

display Webpart Title on 2 lines

I have a little question for you: I would like to display Webpart Title in 2 lines. So, from My Superbe Webpart Title going to My Superbe Webpart Title Simple, right? So i tried it, but i ...
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 ...
1
vote
2answers
81 views

jquery tabs and sharepoint 2013 CQWP

I'm using Jquery tabs to display some contents from a content query webpart (used this ...
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 ...
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 ...
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. ...
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 ...
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
2answers
48 views

Show more columns in content query Sharepoint 2013

How do I set the number of columns shown by content query which retrieves data form a list? It only shows the Content column and I'd like it to show the Rating column too.
0
votes
1answer
28 views

Display Announcement list from sub site

I have SharePoint Server 2010 Standard and am trying to put a short announcement List on my home site which is from a sub sub site. I tried creating a Content Query Web Part, selected the source as ...
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
39 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) != ...
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 ...
0
votes
1answer
115 views

Display Template Render HTML in list item

I am building a display template for a CSWP. One of the properties is a multi-lined textbox and some HTML is stored with the actual data. How do I go about rendering this html in my display template? ...
0
votes
2answers
80 views

Content Query WebPart missing in SharePoint 2013

I was working with CQWP and after a while I had a lot of Content Query Web Parts on my masterpage, I deleted all and later found out that I couldnt see/access Content Query Web Parts under Content ...
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 ...