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
1
vote
1answer
63 views

Unable to view list library in content Query web part

I have a new CQWP and when l export the WP and insert it into the page layout when l create a new page it adds the CQWP but the it doesn't show the list l have selected in the Query under "show items ...
1
vote
1answer
45 views

Content Query Web Part made the ribbon menu dissapper?

I have got a document library to store the documents. I want to pull data from this library. For this I am trying to use the Content Query Web Part. But when I click on this webpart, my website is ...
2
votes
1answer
357 views

Can the Content Query Web Part be used to show all tasks marked as Complete during the current week?

I have a dashboard, on which I want to show a list of tasks (from a task list) that have been marked with the status Complete during the current week. Is there a way to do this with the Content Query ...
0
votes
1answer
157 views

Display a dynamic list of all document libraries in a site

I am using a Content Query web part to display a list libraries in a specific site, this works like a charm. The only question is how would I sort the results of libraries alphabetically? HELP!
0
votes
1answer
519 views

How to consolidate multiple SharePoint Online lists with Content Query Web Part

I have several different task lists in an online SharePoint site. I want the Web Part to display links to task lists that contain overdue tasks. I have the logic set to display where Due Date < ...
2
votes
2answers
3k views

How to create an accordion of several content query webparts?

What I have : On SharePoint Online, three content query webparts which use catalogs. So these webparts display files from other collections. What I need : that this three webparts become one dynamic ...
1
vote
0answers
31 views

Item with published hyperlink field redirects to different page when field is blank SP 2010

I am currently working on a site in sp 2010. I have a cqwp that displays news items from a list using a custom itemstyle. Each news item has a published hyperlink field used to link off to the source ...
2
votes
0answers
55 views

How to use GroupBy in QueryOverride for Content Query Web Part in SharePoint 2016?

I read a lot of forums, questions and answers and it looks like using GroupBy in QueryOverride is not taking in consideration. Here are the several ways I tried without success. Option 1 <...
1
vote
1answer
396 views

Display WebPart title using an ItemStyle.xls custom template and Content Query Web Part (CQWP)

I'm working on the SharePoint Online environment on a publishing site where I would like to add the following: Content Query Web Part (CQWP) connected to a custom list Customized Item Style template ...
1
vote
0answers
428 views

Content Type not queryable in Content Search Web part

Essentially what I'm trying to achieve is to have a page with two Content Search Web Parts that each pull back items of a specific content type. To do this I have created a few custom content types on ...
1
vote
2answers
613 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 ...
0
votes
1answer
30 views

2010 Content Query

I have edited my CQWP by adding the field 'Body' from my NEWS list into the 'CommonViewProperties' of the web part. I imported the web part, added it, and put the 'Body' in the description section of ...
0
votes
1answer
478 views

How to reproduce some events in a calendar in another

I have a calendar in site A, which includes a yes/no field. I want events with 'yes' to appear in a calendar on site B. Things I have tried: - adding the calendar to site B, with a 'yes' only view. ...
1
vote
1answer
234 views

SP 2013 : CQWP documents filter exclude/do not begin with

Good morning ! I have a really big question, and I found absolutely no good answer to it. I have a SP2013 on premise. I need to display content only by using Content Query WP (my client does not have ...
3
votes
1answer
361 views

Display Content Query in slideshow

I've created sub-site as a Blog site for news and I want to display that news in the home page of the root site as a slide-show. Item's fields that I want to display are: title, rollup image and body.
2
votes
1answer
70 views

Content Query WebPart not showing hyperlink

I am quite new to Content Query WebPart. I have a list which as a 'Hyperklink or Picture' column. I have added below markup in itemstyle.xsl to show hyperlink <xsl:template name="CQWPStyle" match=...
3
votes
1answer
232 views

Content query group by field

I have content query webpart that queries data from a custom list and I am using a custom xsl style to display the items everything works fine. The issue that I have is I have a column called Category ...
1
vote
0answers
223 views

Content Query Web Part for multiple lists

In my site collection, I have a bunch of custom lists that contain Requests that employees have submitted (IT Request, Maintenance Request, etc...). I'm trying to set up a CQWP that aggregates all ...
2
votes
0answers
39 views

Sharepoint 2010 Conditional XSL Style based on field values?

I am working on a Sharepoint 2010 site. I have a content query webpart with a custom itemstyle template. The items pulled in via the query have a few custom columns (multiline text, image, singleline ...
0
votes
1answer
113 views

how to add Title (linked to item with edit menu) in content query webpart

I have added content query webpart to a page. In webpart properties -> query field-> additional filters, I am able to see only title field in the dropdown. However I want to add Title (linked to item ...
1
vote
0answers
45 views

Display information from two separate lists in single CQWP?

I am working on a project within a Sharepoint 2010 site. I have a list of items that are news articles, custom content type and columns. I also have a list for departments, these contain a variety of ...
1
vote
0answers
27 views

SharePoint Online - Content Search Query

Are there any possibilities to customize this Content Search Web part..? Because in here it only show the Title and Description. Am I able to customize it according to my need.
0
votes
2answers
19 views

How to add sites in content query webpart?

We have programs and product environment, we want add both sites and subsites to the main page using content query web part? is it possible if yes how?
1
vote
1answer
83 views

@EventDate Not Displaying

I am quite new to this so please bear with me. This has been driving me crazy all morning. I have been trying to create template for the CQWP that will display the calendar how I want it to show on ...
1
vote
2answers
811 views

Display Created Date of Document using Content Query webpart

I'm using a Web Part to display a list of filtered pdfs on a page. Managed to get the document name to list without a hitch, but can't find a way to add the date the pdf was added to Sharepoint. For ...
1
vote
1answer
580 views

How to display Page Content field in itemstyle.xsl

I am using CQWP to display "Page" library from a subsite. This page library contain several fields such as title, roll up image, page content etc. I am trying to display page content (i.e. body of ...
1
vote
0answers
25 views

Can I Save a content search web part as a template?

On our SharePoint Online instance I have created a new site collection and, on its home page I have added a content search web part that is configured to list all the sub-sites for the site collection....
1
vote
0answers
22 views

Change markup of content search webpart

I've inserted an content search webpart but the items are being displayed very ugly: I know there is a dropdown list where you can select the styling. But this just isn't working for me: What I want ...
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 ...
1
vote
0answers
47 views

CQWP: zero likes displays null, zero comments displays 0

I have followed this guide SharePoint 2010 Content Query Everything works including adding the number of likes (internal name LikesCount). I see side by side Number of comments and number of likes, ...
0
votes
2answers
100 views

How to display list view based on info about the current user

Here's the scenario: There's a list on my SP site, call it TheList. I'd like to display certain rows of the list, a view, based on info about the current user. If that current user is an "admin" I'd ...
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 ...
0
votes
1answer
93 views

Display Item based on Item order in Content Query Webpart

I am displaying Link list item using Content query webpart and I have created Template in ItemStyle.xsl stylesheet for Customised look but I also want to display item based on the order I have given ...
0
votes
1answer
40 views

Getting exception on open of Show items from the following list popup

We am working on SharePoint 2010. We are getting bellow exception when we click browse button for Content Query Web Part > Show items from the following list System.NullReferenceException: Object ...
0
votes
1answer
129 views

Content Query WP with Document Library

When created a CQWP to load a doc library of a subsite, it seems that the subfolders of the parent folder were also displayed. Is there any way to display in hierarchy like the subfolders are under ...
0
votes
2answers
67 views

My xslt doesn't work

I wrote some xslt to make a new style for my content query web part, but it doesn't work. I'm new to xslt and don't know what i did wrong. I hoped that someone here could help me.
5
votes
0answers
54 views

Content Query Web Part does not appear in mobile view

I have successfully created several CQWPs on our intranet homepage to pull announcements from team sites as well as list events on Community calendar. These can all be viewed on the desktop, laptop, ...
3
votes
2answers
313 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 ...
0
votes
2answers
7k views

how to copy files from one document library to another in sharepoint using jsom

i have a site collection named 'practice'.in which i have created a document library named 'doclib1'.i have created another document library called 'doclib2'.i want to copy the items( text,pdf,images) ...
1
vote
0answers
49 views

Content Query Webpart date issue

I have a content query web part which display data from a list. Web part shows date from Modified column. But the date display on web part for Modified is [Modified + 1]. e.g. Assume that document ...
0
votes
1answer
282 views

View all item link in Content Query webpart

Using Content Query webpart to display item from link list. I have created template in ItemStyle.xsl stylesheet to change look and feel but i need last item should be View All item link.Need to show ...
0
votes
1answer
37 views

cqwp: querying a whole site looking for documents, I get also css files and png

I am doing a simple CQWP in a site where I would like to query all documents. I have selected 'show items from the following site and subsites' and show items from 'document library', 'document ...
1
vote
1answer
107 views

cqwp: formatting a date inside a standard template

I do not have a formal knowledge of XSLT so my successes are with attempts. I would like to know one information once for all. Sometimes I need a slight modification on the templates such as the '...
1
vote
0answers
18 views

ContentQuery filtering by URL

I have list where i have som news with title, date, department. I want to make a filter so that list is showing the news from the Januar 2016, or April 2016 for that department. I can filter the ...
1
vote
1answer
272 views

CQWP filter greater than a number on a calculated field does not work

I have a calculated column that produces values from 0 to 20. While filtering the query for items greater or equal to 16 I still get all the values. The result of the Calculated column is a number (...
1
vote
1answer
83 views

Set the default value to field/property with the Content Query Web Part 2013

I have to set the default value to the web part field/Property. This is same as custom web part, we can set the default value to the property. Same I have to implement in the Content Query Web Part. ...
1
vote
0answers
142 views

Custom property for the Content Query Web Part SharePoint 2013

I have to create Custom Property with the Content Query Web Part. I need this Property for the limit the number of rows to display and rotation time with CQWP. How to add those properties in the ...
0
votes
1answer
505 views

What is the default sort order of a Content Query Web Part in SharePoint 2013?

If no sort order is specified in a CQWP, how does SharePoint determine the order to place the items? Is there a default field that it uses to sort if no sorting is specified in the CQWP options?
0
votes
1answer
36 views

Help with Blog Content Roll Up - Content Query

Experts, I need to pick your brain as I am pretty new to SharePoint and I am stuck! I have a blog and then I have our intranet homepage. I have added content rollup/content query and linked it to ...
0
votes
3answers
903 views

Custom DispForm.aspx Form

I have requirement to create display form for my custom list with two fields Title and State(open or close options ) if the state of item equal close , i want to make the background Row of state field ...