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.

5
votes
0answers
51 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, ...
4
votes
0answers
837 views

Problem with getting SafeImageHtml in CustomItem.xsl of a CQWP

I have a CQWP with the Parameters: Title:{fa564e0f-0c70-4ab9-b863-0177e6ddd247},Title,Text;| Description:{691b9a4b-512e-4341-b3f1-68914130d5b2},ShortComment,Text;| ImageUrl:{543bc2cf-1f30-488e-...
3
votes
0answers
118 views

XSLT Force Time Zone

Using XSLT, is there a way to show the time for a specific time-zone? e.g. Resolved: <xsl:value-of select="ddwrt:FormatDate(@ResolvedDate, 3081, 2, [TimeZone])"/>
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 ...
2
votes
0answers
51 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 <...
2
votes
0answers
36 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 ...
2
votes
0answers
45 views

Creating a custom content query web part

The basic gist is that I would like to create a content query web part that shows the 10 most recent documents in the project provided by the URL parameter. I currently have it set up such that all ...
2
votes
0answers
176 views

CQWP XSLT ddwrt:Today() return PST time zone instead of Local time zone

I am working on CQWP webpart in Office 365(SharePoint Online). I have to get today's date for date comparison. I have use xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" for ...
2
votes
0answers
291 views

Set view fields in content query web part programmatically

I am using the code below to update a web part on a home page, it sets the correct settings but when I go to the page with the web part it doesn't pick up the links from the Navigation list. What I ...
2
votes
0answers
120 views

How to make CQWP retrieve 4 most recent Items in the whole site collection?

I'm a little stuck with one of m Content Query Web Part: On my homepage, I would like to display the 4 most recent items added to my site collection in a Content Query Web part called "What's new?" ...
2
votes
0answers
330 views

XSLT, regex and RenditionID

I'm sort of new in XSLT, and i need some clues, if you're willing to give me some... What i want: In a CQWP, i want to display items' images, with a certain rendition ID. But, when retrieving the ...
2
votes
0answers
102 views

Customize Content Query Web using Internal Names not guides

I am trying to configure the Content Query Web Part to show my custom fields defined in the underlying content type. The following code snippet is placed in a custom template in the ItemStyle.xsl ...
2
votes
0answers
470 views

CQWP display custom field from all lists in subsite

I am trying to build a CQWP to display custom fields on list items from several lists in a subsite. So far i have configured the CQWP.webpart file to display the custom field when i query by "Show ...
2
votes
0answers
200 views

XSL returning only XML result

I'm attempting to use a Content Query webpart to display a calendar but instead of getting a styled result I get an XML result that looks like this: <dsQueryResponse> <Rows> <...
2
votes
0answers
660 views

SharePoint 2013: CQWP Link slot not grabbing item hyperlink

In SP 2010 you simply had to add URL [Custom Columns] in the Link slot to have it use that as the hyperlink address for the displayed items. This no longer appears to be the case. When I enter that as ...
2
votes
0answers
76 views

Linking publishing's xsl files?

I'm working on customization of some ContentByQueryWebPart. This customization consists in defining custom contentquerymain.xsl and itemstyle.xsl file. However, from one customization to another, ...
2
votes
0answers
752 views

Filter a CQWP on a Lookup Column

I'm creating a custom page layout that contains a CQWP that I'd like to display documents related to the page. The document library has a lookup column that relates to the page title in the Pages ...
2
votes
0answers
1k views

SP2010: Strange Content Query Web Part Behavior - Inconsistent results between users

I'm experiencing some very strange behavior with a content query web part. The web part uses no customised XSL, and is a simple query of "All sites in this site collection, from a Document Library, ...
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
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
0answers
77 views

Dynamically Update Content Stored on Another SharePoint Site's Lists

I am attempting to embed list content into SharePoint pages/wiki pages that is stored on a separate site. I think some of this information might not be relevant, but I am going to include it so that ...
1
vote
0answers
21 views

Sharepoint Online/2016

Does anyone know how to display an image when using the "Search driven content" --> Wiki Pages Web Part? Ive tried messing with the "managed properties mapping" but nothing seems to work and I havent ...
1
vote
0answers
372 views

Sharepoint Content Query Webpart from content type with additional columns shows empty slots and not all data

i have a strange problem with CQWP I have a list contenttype that is assigned to some lists. Now I want to use a content query webpart to show all items with additional columns based on this content ...
1
vote
0answers
30 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 ...
1
vote
0answers
373 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
0answers
188 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 ...
1
vote
0answers
44 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.
1
vote
0answers
21 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
21 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
46 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, ...
1
vote
0answers
46 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 ...
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
0answers
133 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
0answers
31 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 ...
1
vote
0answers
26 views

Content by Query Webpart returning Results twice

I am instantiation a content by query webpart from code. I am overwriting the CAML Query. As soon as my query contains a managed metadata filter all results are returned twice. My query looks like ...
1
vote
0answers
101 views

CQWP and PageFieldValue

I am attempting to create a web part to use in a published page where it shows similar pages based on a metadata from the displayed page. My field is call News Topic, terms are selected from MMS. ...
1
vote
0answers
87 views

SharePoint 2013 - How to search a list using a property from the current list

Is it at all possible to search (using a content search web part) a SharePoint 2013 list via a variable in the displayform's currently loaded list item? In my list I have an audience variable and I'...
1
vote
0answers
51 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 ...
1
vote
0answers
26 views

set the in-line style to image tag in the content query web part

I have to set the style to image tag with in-line instead of class. Is it possible? How?
1
vote
0answers
33 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
60 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" type="string"&...
1
vote
0answers
325 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 ...
1
vote
0answers
249 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"> ...
1
vote
0answers
156 views

unable to use content query webpart to retrieve the list content (custom template) from subsites

I am unable to retrieve the list items via content query web part from all the sub sites of a custom list created with a template. This is a SharePoint online site collection and i have placed the web ...
1
vote
0answers
179 views

Web part to Display list data across sites and subsites - SP 2013

I have been looking at some add-on third party providers like : Lightning Tools Boost Solutions Bamboo Solutions looking for any tips or advices to which one best works well and easy to use as ...
1
vote
0answers
139 views

Term driven pages not working when term is more than one word

I am using term driven pages in my Enterprise wiki site and have connected the target page. In the page template I am using the Content Search web part to display items in the wiki site that use the ...
1
vote
0answers
193 views

Unable to edit CQWP within publishing site

When I add a Content Query to any page within a 2010 publishing site collection, either via checked-out page edit (Wiki or BWP page) or via SPD, I receive an error when I attempt to edit the webpart. ...
1
vote
0answers
147 views

Change Custom List ID

I am looking to query a custom list that exists in many sub sites. Using either the CQWP or a DVWP I'm running into the list limit. As the ID is 100, there a lots of custom lists (not just limited to ...
1
vote
0answers
92 views

How to filter listview using webpart?

We have a list view webpart on a page. I want to create a textbox webpart and pass data into the list view webpart and filter it based on this data. Is there OOTB method? Or do I develop a VS ...