We’re rewarding the question askers & reputations are being recalculated! Read more.

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
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
510 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
243 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
244 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
227 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 ...
3
votes
1answer
374 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=...
0
votes
1answer
524 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?
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 ...
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
117 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
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
86 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
834 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
596 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
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
103 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
95 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 ...
2
votes
1answer
2k 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 ...
0
votes
1answer
140 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
1answer
45 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
2answers
70 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.
2
votes
2answers
3k views

Blog Feed on Home Page

I am trying to create a blog feed on our SharePoint 2013 intranet homepage to show the three most recent company blog posts. I have tried with both the Content Query Web Part and the Content Search ...
1
vote
0answers
51 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
285 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 ...
3
votes
1answer
2k 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
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
108 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 '...
0
votes
3answers
1k views

Compare current user login name with four custom sharepoint list 2010?

I have 4 custom list (test A, Test B, Test c,test D). I need to find current user login belongs to which list in sharepoint. if current user belongs to Test b list i need to show pop up "U belong to ...
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
279 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
3answers
3k views

Is there any way in SharePoint to make a Content Query Web Part hidden if no content returns?

Right now I was trying to configure a content query web part so that if nothing returned from the query, the web part was hidden (or not returning at all). Title and everything included. Is there an ...
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 ...
1
vote
1answer
87 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. ...
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
931 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 ...
1
vote
1answer
408 views

How to filter by content url in CQWP

I'm looking to filter items in a Content Query Webpart by URL, e.g. URL contains this particular string. URL is not available in the list of fields though. Specifying 'FilterField1="URL"' in the ...
0
votes
1answer
127 views

Adding metadata to sites in Sharepoint 2013 (OWA)

I'm building a new SharePoint structure for our projects team where each new project is a new subsite created from a site template (Team site). However, the subsites need to be sortable (and ...
0
votes
1answer
503 views

Content Query Web Part / XSLT Variable Name

I am trying to create my own item style for the content query web part. I need to create a variable to display. The following for title works ... <xsl:variable name="DisplayTitle"> <xsl:...
1
vote
0answers
32 views

How can I add an image from a relative URL to be displayed in a ContentQuery WebPart?

I created a Content Query webpart that dynamically feeds from different blog posts from different sites and subsites. Now: I am trying to set up the Query so that a logo would appear as the Rollup ...
0
votes
1answer
313 views

Remove Fields from Custom Content Query Web Part

I created a custom content query web part where I just want to display one field (Description). How do I get rid of the fields for Link, Image, SipAddress, LinkToolTip, OpenInNewWindow, and Title? I ...
0
votes
1answer
2k views

Is Content Query Web Part available on SharePoint 2016 standard edition

Please advise if Content Query web part is available on SharePoint 2016 - standard edition. Thanks much!
1
vote
1answer
33 views

Split up @ArticleStartDate Month and Day to resemble a calendar page

Using SharePoint 2013, I have a custom ItemStyle.xsl file where I have the following code: <div class="articledate"> <xsl:value-of select="ddwrt:FormatDateTime(string(@ArticleStartDate), ...
1
vote
1answer
1k 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 ...
2
votes
1answer
1k views

Custom Fields for Content Query Web Part for Pages Library

In SharePoint 2013, I have a Pages library full of press releases. A press release page layout contains the following: Title, Article Date, Contact Name, Contact E-mail Address, Page Content. On ...
2
votes
1answer
407 views

SPO 2013 content query web part: change link field if “link” field is empty

I have a field of type hyperlink in a blog list and I want the title field to link to that URL if it's populated but to default to the list item URL if not. I added the display (and internal) name "...
2
votes
2answers
95 views

how to set the column name in the web part property edit

I have to use the custom column in the web part property. I have to set the EventDate column, I have set as EventDate or [EventDate] or EventDate [CustomColumn]; And facing Error as- The site or ...