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
2k views

content query webpart itemstyle wrapped by group style in XSLT

I have the following markup: <ul id="slider"> <!-- slider item --> <li> ... </li> <!-- end of slider item --> </ul> and I have ...
2
votes
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 ...
0
votes
1answer
24 views

Viewing List Data via CQWP, need XSLT to modify the content look in CQWP Webpart

Viewing List Data via CQWP, need XSLT to modify the content look in CQWP Webpart Detailed explanation: I've created a List and its working fine. Created a CQWP webpart to fetch the List data and ...
0
votes
1answer
25 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 ...
0
votes
1answer
24 views

Aggregated view for Display Form for SharePoint 2013

Due to my business case, I have a relationship of Person-Position-Certificate lists with existing data. I need to have a Person view that aggregates information from those lists, means I would like to ...
1
vote
1answer
30 views

I am getting error while trying to select a list for content query web part using query option from tool pane

i wish to connect a calender list to CQWP n for that i am trying to select list from tool pane ->Query->Show items from the following list->browse n then there i am getting error as the log viewer ...
0
votes
2answers
16 views

Content Search WebPart Query

I am trying to get the content search webpart to display a list of subsites but it only shows me the site I am on (Topsite) Here is my query: Path:"https://sitename.sharepoint.com/projects " ...
0
votes
0answers
10 views

Get Attachment URL via ItemTemplate XSLT

I am using a CQWP to query a list. This list has attachments that I want to display. I have created a custom xsl:template in ItemStyle.xsl, but I can't figure out how to get an attachment's URL. I ...
1
vote
1answer
741 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
1answer
16 views

Is it possible to display items with different content types in a content query webpart

I am trying to configure a content query webpart to display three different content types from three different lists. Is this possible or can you only target a query to specify a single content type? ...
0
votes
0answers
32 views

CQWP Error when querying multiple lines of text

I followed this link to edit my ItemStyle to allow truncating blog post body. This works fine until I realized that when CQWP is fetching for item with large amount of data. Here is the markup of ...
2
votes
2answers
998 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
1answer
656 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
26 views

SharePoint 2010 CQWP crashes when filtering using “Me”

I am trying to use a CQWP to display recent documents that the user viewing the page has uploaded onto any site in a site collection. I set the List Type to "Document Library" I leave document type ...
0
votes
0answers
16 views

Content Query Web Part Issue - QueryOverride property

I needed to customize a CQWP to allow the filter to look at both the date and time of a field (OOTB just looks at the date portion). I followed a number of examples and customized the QueryOverride ...
0
votes
1answer
27 views

Content query webpart display url

I AM Creating one list with url and description . i want display items using content query webpart . i am selecting title and description in style , given the column names . but it display url like ...
0
votes
0answers
19 views
0
votes
0answers
11 views

How to hide CQWP's title when it returns no result?

I'm working on SP2013 on site, and i've had some troubles whith the CQWP. Thanks to @Trenton Mak (When a CQWP returns no results, zones are shifted), my zones are not shifted anymore. But now, i ...
1
vote
1answer
28 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
81 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
0answers
10 views

Article Description in Content Query

In SharePoint 2013 I have created a Content Query Web Part, which pulls Articles from the Pages Library. I know when you create an Article, you can type the title and description. How can I pull the ...
1
vote
0answers
21 views

How to implement termstore query in content query webpart editor

I am creating a content query webpart (in SharePoint 2010) that displays documents that have been tagged with a particular termstore tag. The issue I am having is how to create the content query ...
1
vote
0answers
14 views

SharePoint 2007: Content Query Web Part - How to update the “WebURL” property to point at a list that's relative to the site the web part is on?

I'm attempting to point a CQWP at a list (in SP2007) that exists per site that's created. In the ".webpart" file, I've modified the "WebURL" to the following: <property name="WebUrl" ...
2
votes
1answer
24 views

How to query a column of a custom content type using Content Search?

How to query a column of a custom content type using Content Search? It is a date column and I would like to search Today+7 (today till the next 7 days).
1
vote
0answers
82 views

Getting hyperlink URL and description in custom XSLT with Content Query Web part

I'm having trouble getting the URL and description to show as separate items in SharePoint 2013. I'm trying to display the description as the text of the Link and the URL as the HREF value in the a ...
3
votes
3answers
3k views

How do I use QueryOverride in CQWP when deploying web part instance using Elements.xml?

I need to use the CQWP with more than three filters, hence I'm going to use the QueryOverride with a CAML query like described here. I can't get this to work when deploying the web part instance using ...
0
votes
1answer
700 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
2answers
34 views

Show list item values from different site collections

We have a site template that contains a list with columns such as title, status, manager. We use this template to create site collections. I would like to query this list item values and show them all ...
0
votes
0answers
20 views

slider using Content search web part

I don't know how to use or you can say configure content search web part to imply a slider which can be used to show list items as news both horizontal & vertically.
0
votes
2answers
36 views

Nested AND OR inside my Content Query web part's CAML query is not working well

I added a content query web part to my team site collection, then i export it , and i modified the QueryOverride tag as follow:- <OrderBy><FieldRef Name="Created" ...
2
votes
1answer
50 views

GroupBy site name inside my CAML query

I wrote the following CAML query to be used inside my Content Query Web part, but i am not sure if i can define to Group the retrieved item by site name :- <property name="QueryOverride" ...
2
votes
1answer
76 views

Format Date in Content Query

I have looked through too many threads about this and have made no progress. So far the following links have helped me the most: Content Query WebPart & Date How to format Date in Content ...
1
vote
3answers
547 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
0answers
10 views

Present table of contents when application pages are blocked

I have a publishing site in which I've blocked access to application pages for non-admins (mainly just to hide from them the ribbon + share links + site contents links). However, this means that I ...
1
vote
2answers
61 views

Content Query Web Part - display certain section of list

I want to have a web part which displays data from a Sharepoint list. I have tried to do this using the Content Query Web Part by displaying the results in descending order using the 'Created' column, ...
1
vote
1answer
48 views

CQWP error:- The web part references an untrusted XSL file

I've created Announcement CQWP. I've deploy wsp on local site root http://pc99 its working fine. but when I'm trying to use it on site http://pc99/sites/Test/Pages/Home.aspx It shows error: The ...
0
votes
0answers
26 views

Using CQWP retrieve 1 most recent Item from list?

i have created Announcements CQWP. in my CQWP ,displaying item whose Expire date is greater or equal to Today using Filter. i have created Template in ItemStyle.xsl file <xsl:template ...
1
vote
1answer
32 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
2answers
1k views

Content Query Web Part Displaying - Query Returned a Greater Number of Results than the Web Application's Query Throttling Limit

I have created a content query web part to aggregate documents in document libraries within the site (not site collection). I am receiving this message: Your query returned a greater number of ...
1
vote
1answer
39 views

Changing Web Part Query Link Color

I have 2 query web parts that pull some of the latest information throughout the site into the front page. Currently I have a script editor with the following code to set the background color for ...
0
votes
2answers
50 views

Content Query Web Part within custom list form

I am currently inserting a Content Query Web Part inside a custom Edit form for a list. The idea is to display a link to a file in a Document Library. I got it all to work except the filter in the ...
1
vote
0answers
41 views

Custom XSL – formatting the date column in ItemStyle.xsl

I have a Content Query Web Part in which I am displaying the data from a Blog sub-site. The Item Style being used is "Title and description". Title displays the title of the document. For the ...
2
votes
1answer
46 views

I cannot see site column in Content Query Filters

I've made a CQ web part. Before I made a site column call "Assigned to CC" which is multiple user column. I wanted to filter my web part so each person can see the item that "Assigned to cc" contains ...
1
vote
0answers
43 views

String manipulation in ItemStyle.xsl file for Content query web part

i have image tag in ItemStyle.xsl file with my custom style template, here i have set image "src" attribute <img height="220px;"> <xsl:attribute name="src"> ...
0
votes
0answers
34 views

CQWP filter for empty column

Im using a CQWP and need to display all items that have a column that is empty. The column is a lookup but I've tried a normal (single line of text) column but cqwp shows no filtering for null or ...
0
votes
0answers
26 views

SharePoint - Content Query Web Part MaxListsLimit

I´m now using the Content Query Web Part for more than 2 years. Everthing works fine. But now, I think I reached the MaxListsLimit value. The Webpart is not returning any value. ULS Error: Error ...
6
votes
1answer
2k 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 ...
0
votes
0answers
18 views

Content query web part - including list name?

I am using Sharepoint 2010 and on my site I have several separate Contact lists. I have created a Content Query Web Part and managed to pull in all the contact entries across the site successfully. I ...
0
votes
0answers
29 views

Providing a custom QueryOverride + Group items by <site> is not working together inside my Content Query web part

I am working on a Team site collection inside my SharePoint 2013. And I added a Content Query web part, and I define to Group the items by the Site:- And I got the following result which is ...
0
votes
1answer
28 views

Will SharePoint apply the same source permission setting for the items displayed through the “Content Query” web part

I have a team site collection inside SharePoint server 2013. the site collection have 10 sub sites. now I want to display subsites' items that match certain criteria inside the site collection welcome ...