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

Edit QueryOverride for CQWP

How can i add a condition in queryoverride, excluding items if URL Path contains /2055/ ? This code dont work, <property name="QueryOverride" type="string"> <![CDATA[ <Where> ...
0
votes
2answers
10 views

How can I remove excess code in Content Query Web Part Body text on Home page?

I have a Content Query Web Part added to a SharePoint 2010 site home page. I've got it set to pull in all Announcements from all sub sites. I've set the content to pull in the Body content of the ...
0
votes
1answer
27 views

content query webpart with paging - SharePoint 2013

I would like to use CQWP to display content across sites but I'm facing 2 limitations 1) Show only one column - ( now I know you can add fields to CommonViewFields) 2) Paging 3) Styling it Looking ...
1
vote
0answers
16 views

Web part to Display list data across sites and subsites - SP 2013

I have been looking at some add-on third party providers like : Lightning Tools Boost Solutions Bamboo Solutions looking for any tips or advices to which one best works well and easy to use as ...
1
vote
1answer
29 views

Date field won't show with ItemStyle.xsl

I'm pretty new user of SharePoint and i work with SharePoint 2010. I try to show the "StartDate" column of a page in my XSL template but it won't show. I put the column in the webpart configuration ...
0
votes
0answers
32 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
7 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
31 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
19 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
28 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
16 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
56 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
35 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
20 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
91 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
18 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
57 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
7 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
41 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
32 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
42 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
20 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
12 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
48 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
12 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
47 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
84 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
120 views

jquery tabs and sharepoint 2013 CQWP

I'm using Jquery tabs to display some contents from a content query webpart (used this ...
2
votes
0answers
30 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
82 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
31 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
38 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
28 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
51 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
31 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
39 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
58 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
32 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
17 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
42 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
38 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
32 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
162 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
108 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
47 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
62 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 ...