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

How to package a CQWP With its required XSL files as a SP feature?

Is there a simple way to package a CQWP with its required XSL and CSS ( and maybe js) files as a feature? The scenario I have is that i have some components in a WCM page that are implemented as OOTB ...
1
vote
2answers
8k 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, ...
1
vote
1answer
18 views

How to query multiple lists using Content Query WebPart (SharePoint 2013)

On root site I have Country Sub site it contains multiple Sub sites with country name like (ABC, DEF) each sub site contains calendar list. root site Country - ABC - DEF - HIJ - XYZ on ...
1
vote
1answer
33 views

Display of List Webpart on Intranet Page

Experts, I`ve created a List using SPD2013 and its working fine. Added the list as a standard CQWP webpart to the intranet page to show the list items on the Intranet homepage. However, I want the ...
1
vote
1answer
43 views

Content Query WebPart, multiple title fields

I have added a cCntent query webpart and configured it, and it is working good. But in the title field, instead of just one source field, can I add two sources? What I want is: My list that is ...
1
vote
1answer
42 views

Property ItemXslLink missing in exported CQWP

I'm trying to customize the fields dislplayed by CQWP and I'm following this article Displaying Custom Fields in a SharePoint 2013 Content Query Web Part When I export my CQWP to to add my ...
1
vote
1answer
48 views

Any way to hide webpart from dashboard from particular user group?

I wan give user group permission on list view web part ,and I have sharePoint foundation version for example: all item of list don't wan a see by user it only show to hr group but user created item ...
1
vote
1answer
91 views

XSLT and CQWP : EventDate is always empty

I am trying to create an xsl template for displaying a calendar and am having an issue pulling the event date out of the calendar items. Here is what I have: <xsl:template name="DateCustomStyle" ...
1
vote
2answers
194 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 ...
1
vote
1answer
355 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 ...
1
vote
2answers
598 views

jquery tabs and sharepoint 2013 CQWP

I'm using Jquery tabs to display some contents from a content query webpart (used this article:http://www.sharemuch.com/2014/11/17/quickly-turning-your-content-query-web-part-display-into-a-jquery-...
1
vote
1answer
140 views

CQWP in sharePoint online public facing website

Is there a way to insert a CQWP to the page in SharePoint online public facing website?
1
vote
1answer
604 views

Can't Design Content Query Web Part JavaScript News Ticker

I created a news list in SharePoint 2010 that shows news on the home page just like a news ticker with JavaScript. I used a content query web part to show news. This article is so useful, but doesn't ...
1
vote
2answers
539 views

Include announcement's from parent site in subsite announcements

I'm using Sharepoint Foundation 2010. I'm trying to include announcements from my parent site in my subsite's announcement list. Or atleast in a separate list/webpart above it. If its not possible to ...
1
vote
1answer
162 views

Has anyone embedded C# code in a SharePoint Content Query XSL?

Has any ever tried calling an embedded C# function from within content query XSL? Contrived example: The exception in the SharePoint log is: System.Xml.Xsl.XslTransformException: ...
1
vote
1answer
417 views

Set CQWP query to return just user documents, not built in files

I have created a out the box team site, and in a document library I have uploaded 3 files. (These files could be in different libraries) I have added a Content Query WebPart to my page, and set the ...
1
vote
1answer
501 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 post(http://blogs.msdn.com/b/mimorr/archive/2009/11/19/improve-performance-of-content-query-web-...
1
vote
1answer
264 views

ContentByQueryWebPart and numeric field display as integer

I have a site column: <Field ID="{4BB20187-638A-47A6-96EF-FFE1CA5A9A2C}" Name="NumberOfPlacesRequested" CanToggleHidden="TRUE" StaticName="NumberOfPlacesRequested" DisplayName="...
1
vote
1answer
425 views

How to set ItemStyle of content query web part programmatically?

I have added a content query web part from visual studio and I am displaying the data from a document library of root site. I want to set the ItemStyle property to Title and Description and assigne ...
1
vote
1answer
679 views

Content Query Web Part select from more than one type of list/library

I have a CQWP that is pulling all recently added list items as a display of, "What's new" on a site collection. The problem I have encountered however is that the CQWP's query has to have a default ...
1
vote
2answers
161 views

How to connect two lists and produce customized reports

I have two lists. The first list, 'Suppliers', is a list of suppliers with the various contact information. The second is 'Ratings' this contains a lookup of the supplier name and various number ...
1
vote
1answer
340 views

Group template in Header.xsl not working

I have the following template in Header.xsl file: <xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header"> <div class="row"> <div class="columns large-4 ...
1
vote
2answers
2k views

Not able to add column in content query webpart

I have one root site and three sub - sites each contains document libraries in it. I put the content query web-part in the root site querying to the sub-site's document libraries. My problem is that ...
1
vote
1answer
90 views

new list added - to show in Content query web part (CQWP)

How Content Query Web Part (CQWP) will be able to show new list added to its output? By default it cann't show new list but how to customize this?
1
vote
1answer
643 views

CQWP Multiple Value People Field Filter

I'm on SP2013. I have a content type called Projects with a multi-valued People field called Project Members and two single-valued People field called Project Lead and Client Sponsor. I'm trying to ...
1
vote
1answer
116 views

How Do I OrderBy ItemChildCount in a ContentQueryWebPart

I'm trying to order items in a content query web part from a discussion board by the number of replies to each item (ItemChildCount). Is there an easy way to go about this? Any help would be greatly ...
1
vote
1answer
908 views

ContentByQueryWebPart, how to render a user with its presence?

In a custom Xsl file, used in a ContentByQueryWebPart, I would like to display some user fields with the presence indicator. If I put <xsl:value-of select="@Author"/>, I get only the display ...
1
vote
1answer
899 views

Displaying Custom List Items in Content Editor or Content Query Webpart

How to Display my custom list items in Content Editor or Content Query Webpart? In this Webpart how to make data as "scroll= up"? for Eg: News Scrolling in Home Page.aspx. If any one of the news is ...
1
vote
1answer
876 views

CQWP throwing security validation error when selecting list

I am currently building an intranet portal which is highly dependent on content query web parts. I am having an issue where when I go to select a list from the popup, it throws an error. The ...
1
vote
1answer
715 views

How to display a list across multiple sites?

I want to be able to create a customized list, "Test", on my main page, "Home" of SharePoint. I want to be able to link to that custom list, "Test", onto another site in the same collection, "Clients"...
1
vote
1answer
433 views

Data View Web Part pointing at multiple XML feeds/internal SharePoint lists

I am trying to put together a web part with a mixture of jQuery display functionality on a DataView web part. The idea is to have multiple sources of news feeds from both an internal SharePoint list ...
1
vote
1answer
796 views

How to be able to edit CQWP added to custom page in VS2010?

I deploy a custom welcome page for a site and on the page I have a content query web part. The problem I have is that I can't edit the web part once deployed. If I go edit page -> I can select the web ...
1
vote
2answers
132 views

SharePoint 2010 Main Summary Blog Page

Is there a way to get posts to roll off on the main summary blog page? Basically we don't want posts to keep displaying after so many days (i.e. they need to roll off once they reach the set ...
1
vote
1answer
679 views

CQWP - Sort items based on popularity

I've enabled Auditing in a list that keeps track of how many times an item has been viewed. I would now like to use a Content Query Web part to return a list of documents based on their popularity (...
1
vote
1answer
802 views

CQWP to query specific list without GUID

I would like to use CQWP to query from one Specific list and that is something we can achieve using following Property and like this " replace with </Lists> ]]>" This is good but if i export this ...
1
vote
1answer
814 views

SP 2010 - Web Part to display a list of pages from parent site filtered by metadata

I have a SubSite that I need to have a web part that will show a list of articles that are stored on the parent site. There is a metadata tag called "vendors" that each article is associated to. Is ...
1
vote
1answer
992 views

Inserting webpart in pagelayout

I have a custom webpart which inherits from the CQWP and I want to insert and configure it in one of my pagelayouts. I do this using SharePoint Designer and it's no issue inserting it. It's the ...
1
vote
1answer
295 views

Opening videos in browser with XsltListViewWebPart

I created a Document Center site which has its own Content Query Web Parts. When I upload a video file to this document center, the Content Query Web Parts are playing the videos in browser with modal ...
1
vote
3answers
198 views

SharePoint XSLT and FF + Safari

I'm currently working on optimizing a clients website for all big browsers (IE, FF, Safari, Chrome, Opera) and I've encountered unsolveable issues (for me at least) here regarding the CQWP & ...
1
vote
1answer
1k views

Content Query Web Parts are not showing up in pages with the Page Layout they are set to

I'am back again with another question. I have a Pagelayout and want to add a Content Query Webpart as Menu. I created a Webpartzone and added a Webpart. <WebPartPages:WebPartZone id="...
1
vote
2answers
2k views

CQWP - Get Current Web URL

I am customizing the ItemStyle.xsl in SPD2010 for a CQWP crawling a whole site collection. I need to use the current web as a variable. I tried multiple options: Option #1 - use server variables in ...
1
vote
1answer
811 views

CQWP slots are not displaying

I wrote this code in itemstyle.xsl <xsl:variable name="AssistPrinEmail"> <xsl:value-of select="substring-after(@AssistantPrincipal1Email,',')" /> </xsl:variable> ...
1
vote
2answers
570 views

How to use the CQWP webpart to provide data to other web parts?

This might be foolish question, but I am new to the SharePoint 2010 environment. I want to fetch data from a SharePoint list using the CQWP web part. I then want to use this web part as the data ...
1
vote
1answer
826 views

Content Query part & blog PostCategory issue with single category

I'm using the content query webpart to query a blog list and it is working well for the most part, the issue i'm having has to do with the categories that the blog has been associated with when a blog ...
1
vote
2answers
354 views

Sharepoint - Provisioning xsl Style Files

I'm trying to provision a .xsl file with custom styles to be applied to a Content Query Web Part in SP 2007 MOSS. I want to deploy it in a feature. So far any attempt has failed as I cannot retrieve ...
1
vote
1answer
1k views

Get ReusableHTML from reusable content via Content query webpart

I'm trying to create a view of stuff from my reusable content list. Basically I am storing global links within the reusable content list. I'm struggling with the content query webpart, because it ...
1
vote
3answers
677 views

Using Content Query Webpart to pull back item from a Reusable Content List

Ok so I am currently trying to use a content query webpart to pull back an item from a reusable content list but it just doesn't seem to work when i use reusable html. Can someone please verify if ...
1
vote
2answers
22 views

Filter List View / CQWP/ DVWP by Current Users Department

I have a site that contains a number of lists and libraries many of which has a field that defines what department each item is related to (e.g. image library with department logos, document library ...
1
vote
0answers
23 views

SharePoint 2013 - How to search a list using a property from the current list

Is it at all possible to search (using a content search web part) a SharePoint 2013 list via a variable in the displayform's currently loaded list item? In my list I have an audience variable and I'...
1
vote
1answer
19 views

Share Point 2010: I copied a site from a location to another

I just copied a site from 1 location to another in Share Point 2010. However I am experiencing some issues with the permissions and user access. I noticed that the permissions cannot be copied so i ...