Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [content-query-web-part]

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.

1
vote
2answers
3k 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
1answer
605 views

RSS Viewer Web Part Loading Error

Working in SP13 and the RSS Viewer Web Part is available. The web part came over from a site original created in SP10. It worked when it entered into SP13 however it's not working now. Things I have ...
5
votes
2answers
2k views

How to display document approval status in a content query web part?

I have this XSLT to display document title and approval status <xsl:template name="DocumentStatus" match="Row[@Style='DocumentStatus']" mode="itemstyle"> <xsl:variable name="...
0
votes
1answer
20 views

Populate page dynamically with field contents from a list

I have a Sharepoint list "SiteInfo" which has the following columns:- Site Name IP Address ISP Username I would like to be able to do the following:- On my main SharePoint site page, I'd like a ...
0
votes
1answer
779 views

Content Query Web Part: not returning assigned to field

I have a Content Query webpart in which I have configured the following set of fields to return from a Task list type (171 list): <property name="ServerTemplate" type="string">171</property&...
0
votes
1answer
616 views

CQWP, CommonViewFields, column with swedish special characters does not go to xsl

I have a CQWP that i want to use to rollup list information from som sub sites, the lists contains columns that are named with Swedish characters: Å, Ä, and Ö. Have in mind also that I am doing this ...
6
votes
1answer
80 views

Content Query Web Part - Change Content Type upon link opening?

[Edited from original post] I'm trying to open the links that come up from my Content Query Web Parts. However, I'm having a problem which I'll now explain: In my list, I have four content types - ...
0
votes
1answer
682 views

Customize the layout of content query web part

I am working on a SharePoint 2013 std on-premise environment and trying to build a product catalog page. All I need to do is show up the products' picture and attributes on a page. I added a content ...
0
votes
1answer
30 views

Content query throttling limit

In my SharePoint Online, I have a content query web part that I have configured to show 5 recent items from a subsite and sort by Modified but I'm not getting any results and the error message about ...
0
votes
0answers
33 views

How to display column names in content query web part

I have been trying to find resources to describe how I can bring in column names into a content query web part. I understand how to add additional columns by modifying the itemstyle.xsl and query web ...
1
vote
1answer
822 views

Add 'What's Hot' to additional Discussion Lists

I'm having trouble trying to leverage the "What's Hot" tab/Popularity column in SharePoint 2013's Discussion List. I've created a custom content query web part that can filter out discussions from ...
0
votes
2answers
848 views

SharePoint 2013 CQWP with Two Grouping Levels

Is it possible to have a custom Content Query Web Part that has two grouping levels? Group 1 Group A Item 1 Item 2 Group B Item 3 Item 4 Group 2 Group A Item 5 ...
1
vote
1answer
850 views

How can I display recurring Events in CQWP with item type “event”?

I have a CQWP to display a list of upcoming events for the next 2 weeks of every calendar on a site collection. To do so, I use a filter Attribute only available when choosing "event" to be the item ...
1
vote
1answer
61 views

How to show additional SP task list fields in CQWP

I have about 3-4 SP Task lists in a site collection and I am using Content query web part to show all tasks from these task lists across the site collection. The tasks show up fine but I am only ...
3
votes
1answer
1k 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 ...
0
votes
1answer
2k views

Change the font color for the web part in SharePoint 2013

I have a library where we have items. My aim is to make these items as a scrolling text in the home page. I used Content Query webpart to get this items to the home page and I added marquee tag to ...
2
votes
2answers
2k 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 ...
1
vote
2answers
1k views

Search content webpart only show documents from current user

I want a webpart that shows recent modified/created documents by the current user. I'm now using the content search webpart. I've filtered only on documents and scope is on whole site. I also can ...
0
votes
1answer
27 views

Pass Sharepoint List Filter Value to Content Query

I have a Sharepoint List Filter and want to connect it to a Content Query. I tried to use variables like [PageFilterValue: MyFilter] but did not work
0
votes
1answer
92 views

XSLT IF Statement

I have a custom Content Query web part that I'm using to display my JQuery Q&A functionality. I'm using a XSL file to determine what display as my question and answer headers. What I want to do ...
3
votes
2answers
283 views

Sharepoint 2013 'Change Query' button does not work in Content Search Web Part

I'm trying to change the result source of Content Search Web Part, but when i click on the button 'Change Query', in web part properties, the page postback and the dialog does not showing up. In ...
2
votes
1answer
18 views

XSL Item Style in Content Query gets replaced by 'default' for visitors

I have a page with a Content Query WP that retrieves and displays a series of items from a list (blog posts). I have edited ItemStyle.xsl for this list and created a brand new item style that I then ...
0
votes
1answer
28 views

Sharepoint 2013 Document library and search not displayed

I have a problem with document library, search zone' webparts which are hidden. I don't know the reason of it. I have Windows 2008 R2 server, Sharepoint 2013 enterprise in 3 VMs (Front End, Back_End ...
2
votes
1answer
36 views

Content Query Web App - Additional Filters Question

I am trying to setup a content query to look at documents checked out to [ME] so that users can see what files are checked out to them. However, the Checked Out To filter is not in the Additional ...
0
votes
3answers
86 views

CQWP / CAML - Query returned a greater number of results than the web application's query throttling limit

The Issue I have a CQWP which appears to be configured to run with a CAML query (I'm a complete novice with CAML - I've inherited this set-up). It has been used successfully, until recently, to run ...
1
vote
1answer
17 views

CQWP Cache Issues

I'm banging my head on the wall for the CQWP cached issues. The CQWP is using QueryString from URL to display dynamic content, I noticed if I show ribbon, the content is up-to date no matter I ...
1
vote
2answers
69 views

SharePoint permission list-item level

I have a list of projects with three different status based on the user permission. What I want is that some list items will show to the user based on their permission and the rest will be hidden. Is ...
0
votes
1answer
23 views

CQWP Group by Content Type

Is there a way to group by content type in Content Query Web Parts (CQWP)? I have created a list with 4 content types. We need to display the items in a CQWP but grouped by content type. I have tried ...
0
votes
1answer
42 views

Unable to switch to Advanced View in Search Driven Web Part Query Builder

I've been searching for some time now for some information on how to show the Advanced View of the Query Builder for the Content Search Web Part in SharePoint 2013 On-Prem. I want to sort my search ...
1
vote
1answer
18 views

Adding to Content Query Snippet

Can anyone tell me if it's possible to edit a content query HTML Snippet. I am creating a page layout in SharePoint designer, and a using the snippet editor to create the Snippet code to drop into ...
1
vote
1answer
539 views

The “XsltListViewWebPart” Web Part appears to be causing a problem. Unable to find the specified file

I have a SharePoint Online Site Classic team site template. I also have 1 blogs site as subsite underneath it. On top level site i am using content query webpart to publish blog items from blogs ...
1
vote
1answer
75 views

Design Manager: Content Query (Enterprise Wiki)

Using Design Manager, Is it possible to filter the Content Query web part using the Wiki Categories? For example, if the current wiki page has a category of InfoPath, the Content Query web part ...
2
votes
2answers
137 views

CQWP ItemStyle: how to display background of description with conditional formatting

I have 3 elements in a field and I would like the CQWP to display red as a bg colour of the field or amber or green. I guess the starting point is <xsl:if test="RAG = 'Red'">background-color: #...
-1
votes
1answer
37 views

JavaScript code on working on SharePoint Online list

Hope you're well; I am adding JavaScript code into content web part. However it is not working. I'm i mising something out.
1
vote
0answers
52 views

Content Query Multiple columns within each header

Does anyone know of a way to enable groupings on a content query web part which displays results in 3 columns? I have been able to create 3 columns display But the results are all shown only after all ...
1
vote
1answer
2k 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?
2
votes
1answer
43 views

Content Query Web Part does not appear in add a web part

I have activated "SharePoint Server Publishing", but when i add a web part to a page i miss Content Rollup and the Content Query Web Part. It does not appear! What am i missing?
0
votes
1answer
49 views

Two related lists and a Content Query WP

I have two lists that are related. I am trying to display them with a CQWP but I never used it. How can I list the items from the parentlist with its child items? PIR 1 My question SIR 1.1 My ...
0
votes
0answers
17 views

Query, create, update, delete records of postgres db table from sharepoint 2016

I need to query, create, update, delete records of postgres db table from sharepoint 2016 on premises (single server), preferably sharepoint list or if not possible then html form/table embedded in ...
0
votes
1answer
83 views

Activating Manage site features for modern communication site

I just trying to activate SharePoint Server Publishing in my modern site to be able to use search content query. I found the following message. How to activate SharePoint Server Publishing ...
2
votes
0answers
26 views

Grouping issue on a content query

I have created a content query pulling in a summary of the page library content. When I group the content based on “Topic”, I get the correct result for how I want the page organised, however all the ...
0
votes
1answer
44 views

remove ;# characters and number from xsl value (person /People group)- itemsyle.xsl

I'm retrieving like this <xsl:call-template name="RemoveHtml"> <xsl:with-param name="String" select="@Person.title"/> </xsl:call-template> Result looks like ...
0
votes
0answers
30 views

CQWP discussion board link to flat view

I've got a CQWP that brings back discussions from the discussion board. My issue is that the link takes you back to the display form and not to the discussion itself (flat view). I've been fiddling ...
4
votes
1answer
680 views

Project Dashboard in SharePoint 2013

I`m working on building a Dashboard to show data from multiple SharePoint 2013 Lists on to the Intranet homepage. Please check the screenshot for better understanding - MY research so far has got ...
3
votes
3answers
3k views

How to get the List url in Content Query Web part?

I'm using a content query web part to display data from lists which are located in different subsites. So far I've been able to display items, but one of the requirements is that I've to display the ...
1
vote
0answers
54 views

Displaying a multi value column (person or group field) in CQWP

I can return person or group column(I have selected this field to allow multiple values - People Only) like this "Name1;#24;#Name2;#34". How can I return something like this Name 1, Name 2 etc.. I ...
1
vote
1answer
830 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 ...
0
votes
0answers
40 views

how to remove hash and semicolon from people and group column - CQWP - itemstyle.xsl

I have this code below in my CQWP. The person/Group field contains multi values e.g Peter James;#33;#Andrew Field <xsl:variable name="Person"> <xsl:value-of select="@Person.title" ...
0
votes
0answers
40 views

Using page lookup field to filter items in content query webpart?

I am working on a site in sharepoint 2010 and have a content query webpart set on a custom page layout. It is set to reference a list with items that contain a page link. These also have a lookup ...
0
votes
0answers
64 views

How to get name or id of person or group field to display in content query webpart

I have a person or Group field called ContactName but I can't get it to display "Name"(FirstName and LastName). The Group column and modified columns works perfectly but not the person or group field....