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

content query web part with multi value lookup column

I am trying to work out how I can query a content type with a multi value lookup field using the content query web part. I know that natively this is not possible with ootb sharepoint 2010 however I ...
5
votes
1answer
1k views

Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a ...
7
votes
1answer
1k 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 ...
0
votes
0answers
15 views

Content Search Web Part

I am trying to add {User.Department} (department name from AD) as string at the end of a url. If the Depart name is "TX" if url is www.sp2013.com, how can I append TX at the end of the existing url ...
0
votes
0answers
17 views

Item Attachment URL from CQWP

My root site has a CQWP that is pulling back items with content type called "Spotlight". These Spotlight lists sit on a few children sites. The idea is to give our users the ability to post something ...
0
votes
3answers
162 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
6 views

Animated Gifs on sharepoint roll up images and content query/search web parts

Any reason why when using a content query or search to pull roll up images (animated gifs) from article pages they do not animate? Any workaround?
0
votes
0answers
16 views

CQWP filter not saving

I'm kind of stuck in Content Query Web Part. I'm using a calculated column of integer type for birthday balance (birthdaybal) to filter list of incoming birthdays. The filter has condition of value ...
0
votes
2answers
108 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
2answers
42 views

How do I use a custom XSL style sheet with a Content Query Web Part without SharePoint Designer?

I'm trying to present data from a list in a more beautiful fashion using a Content Query Web Part and an XSL style sheet. I found some instructions on this page, which seem pretty simple, but they ...
0
votes
0answers
21 views

Content Search: Images from document library

I work for a IT company and I have built our client documentation system in SharePoint 2013 I have a document library with a managed metadata column where we select a document type, for example, a ...
0
votes
0answers
37 views

How to work with the Content Query Web Part (CQWP) & XSLT

I have been using SharePoint for a few years now, but limit of my skills include anything I can do in the browser and some stuff using Designer (Branding, Workflows). I know how to use the CQWP to ...
0
votes
0answers
21 views

Sharepoint 2013 Table of Contents incomplete

I'm working with webpart Table of Contents and it seems that new directories are not being added to the ToC as well as new files if they're placed in any directory. For examples, rootpages\test ...
0
votes
1answer
415 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
18 views

Content Search (CSWP) Property Mapping Not Showing

I setup a new site content type, made a new list and applied to content type to the list as the default type. I'm now trying to setup a CSWP with a search keyed to that content type. It took about a ...
2
votes
3answers
7k views

Changing the link in a Content Query Web Part

I have added the Content Query Web Part to my page. I've hooked it up to a custom list that I've added a Url column to. The list is displaying on my page, but the link goes to the list item ...
1
vote
1answer
570 views

How to dynamically pass values such as images and multiline texts to a wiki page which needs to be rendered in XSLT

I have a requirement where I have a list which contains 4 columns named 1.Title 2.Image 3.Short Description 4.Full Description. Now my requirement is that I need to display this list in a ...
0
votes
0answers
16 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> ...
1
vote
0answers
351 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 ...
0
votes
2answers
29 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
57 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
25 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
37 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
40 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
1answer
56 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
30 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 ...
1
vote
6answers
6k views

SharePoint 2010 CQWP and Managed Metada columns

I am trying to use a content query web part on SharePoint 2010 Server and filter on site columns of type "Managed Metadata". These columns do not show up int the available columns drop down in the ...
1
vote
1answer
387 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 ...
1
vote
3answers
97 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
44 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
18 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 ...
1
vote
0answers
43 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
22 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
1answer
385 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 ...
1
vote
2answers
7k views

Display a rich text column in a content query web part

Using SP2010, I have a list containing a column with rich text (i.e. contains html). I would like to display this column using a content query web part - but when I do, it displays the actual html, ...
0
votes
0answers
24 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
77 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
11 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
50 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
3answers
647 views

Showing sites in Site Collection using a CQWP

Does anyone know the best way to display a listing of sites within a Site Collection using a Content Query Web Part? I know that you can query content types but what would be the best way to show ...
0
votes
2answers
108 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
1answer
37 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
67 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
26 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
14 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
65 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
106 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
0answers
25 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
14 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
68 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 ...