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.

Filter by
Sorted by
Tagged with
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
807 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
633 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 ...
1
vote
1answer
19 views

Why are some of my CQWPs coming back blank for Visitors?

I have a page with approx twenty CQWPs on them, all coming from the same library. It looks fine to me (Admin) but for the Visitor permission group, some boxes are coming up blank - no error message, ...
0
votes
1answer
762 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
0answers
11 views

Content query how to clean up # in multiple choice fields

I have a managed metadata as a multiple choice field and a simple choice field. When surfaced in a CQWP the metadata shows well while the choice shows as: #Choice1;#Choice2 I want to get rid of the #...
0
votes
2answers
33 views

SP online is it still possible to import a modified CQWP?

I have been doing this since some months ago. Export the CQWP and adding some fields in the property name="CommonViewFields" When importing I get: The file you imported is not valid. Verify that ...
0
votes
0answers
19 views

How to get a value from a column using XSLT

I'm trying to figure out how to configure a custom xslt template for use with a content query web part, specifically the content type of the list item. I don't know at all what I've doing and there ...
1
vote
1answer
824 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 ...
0
votes
1answer
2k 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"> <xsl:call-...
1
vote
1answer
633 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-...
0
votes
0answers
10 views

Content Query Webpart not filtering by user

I am using the CQW to display all tasks in the site collection that is assigned to a user and not marked 'Completed'. I used the out-of-the-box query and customized an XSL stylesheet to display the ...
1
vote
0answers
30 views

Content query webpart using dynamic value and concatenation for QueryOverride or FilterValue1

We're trying to customize a Content query web-part to use dynamic data (page Id) and a concatenated character (; or |) to populate the query. I've tried writing a QueryOverride like this, but not ...
1
vote
0answers
26 views

Content query webpart using a calculated page field value in a filter failing

I'm having trouble getting a calculated page field (DocIdDelimited) to work as a filter value in a content query webpart. DocIdDelimited should resolve to text. I'm querying if the calculated field ...
1
vote
1answer
832 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
889 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
893 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 ...
2
votes
2answers
3k 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 ...
2
votes
2answers
647 views

Content Query Webpart (CQWP) Pagination in SPO

I am trying to paginate a CQWP results set but I am struggling with XSLT. Is there an easy way to do it? Should I work directly on the ItemStyle.xsl? Should I use jQuery instead? I can't believe ...
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
0answers
60 views

Customize Content Query XSLT

We are using a content query webpart on a page to show some related documents. It needs to be updated immediately when the page is updated so the 15 minute search web part delay is not an option for ...
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 ...
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 ...
0
votes
0answers
11 views

Is there any way to replicate the old content search webpart for new sharepoint to fetch the results dynamically?

Is there any way to replicate the old content search webpart feature for new sharepoint to fetch the results dynamically without using any 3rd party app?? can we use Highlighted Content widget for the ...
0
votes
1answer
75 views

How to exclude the specific category result(post) using query?

I’ve a blog site where 20+ categories are there.Now my requirement is using content search webpart I have to fetch some specific categories post using search query. Only posts out of specific ...
0
votes
1answer
636 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 ...
0
votes
0answers
12 views

Query site collection for specific content type and display as a list

I'm working on a main page for a projects site collection in SharePoint 2013 on-premises. Each subsite is a project based on the same template. Using a CQWP with a custom display template, I've ...
0
votes
0answers
20 views

Customize Content Query Web Part CQWP

Using the design manager to create a content query webpart snippet. I'm using the Document with using the Title, description and document icon item style for the presentation. It is working and ...
0
votes
0answers
11 views

Losing CQWP filter “Contains all of” when applied/saved

I've added a CQWP to a web part page. In the web part properties, the source is from a single list, and i'm trying to add additional filters. If the second or third additional filter is set to "...
1
vote
0answers
15 views

Content Query Web Part - Get each task's site

Using a custom content query web part and XSL file in SharePoint 2016, I am bringing in tasks across a site collection. I would like to bring in each task's associated site. Using this article as a ...
0
votes
0answers
11 views

Editable CQWP through Design Manager

I created a dynamic CQWP through the Design manager so that I can take advantage of the code snippet to embed in my page layout. It works well but i have an addition requirement. This is for that CQWP ...
0
votes
1answer
32 views

Content Search Webpart missing “new” Items from List Query

I've created a Content Search WebPart on my SharePoint 2016 site page, and it's missing items from the list which have the "new" tag on them, meaning they were newly created. The following is what my ...
0
votes
1answer
48 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 ...
6
votes
1answer
95 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
59 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
67 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
67 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 ...
1
vote
2answers
2k 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
51 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
331 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
351 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
32 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
29 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
48 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
116 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
18 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
193 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
39 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
63 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 ...