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
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 ...
2
votes
1answer
1k views

How to specify [Now] in content query web part

I currently have a content query web part that has a filter on it to show items that have a published date less than or equal to [Today] and it works great. The problem is I'd like to change this ...
2
votes
2answers
1k views

Show new item notification on Content Query Web Part

I have a Content Query Web Part in the home page of my site root that points to a announcement list in a sub site. Is it possible to also show the new item notification image as the announcement ...
2
votes
1answer
1k views

CQWP rating control not working

I have got CQWP to display the rating control for items in a video library. I used fldtypes_Ratings.xsl to call the template in my custom Itemstyle.xsl. I managed to show the starts but its not ...
2
votes
1answer
119 views

Splitting ItemChildCount

Does anyone know how to just return the # of replies value from the built in SP field ItemChildCount? It seems to store the values as a delimited string with the ID of the item associated as a reply ...
2
votes
2answers
3k views

Use Managed metadata with the Content Query Web Part?

I'm trying out the Content Query Web Part in Office 365. However, I want to use Managed metadata as a criterion to filter on, but I don't see any of the Managed metadata columns I have created in ...
2
votes
1answer
129 views

Limiting a view based on authentication

I am attempting to solve/plan a strategy for a business using SharePoint 2010. They have data from multiple external databases. I would like to display this data in a report based on the current ...
2
votes
2answers
6k views

jQuery - How would you display / hide content with a radio button based on a date?

I current have a list of items being pulled through in a Content Query Web Part. Onload, I would like to display the items from today onwards, and for this to be a radio button selected onload. The ...
2
votes
1answer
2k views

List view web part to display all item from document folder in subsites (SharePoint 2010)

How can I achieve that I can display all the documents from the document libraries from all the site collections sub sites? (Actually I only need to show the onces that where changed lately.) It ...
2
votes
1answer
1k views

Help xsl formatting help needed

I am creating this http://demo.webdeveloperplus.com/featured-content-slider/, image rotator in where data will be pulled automatically from a custom list. Need help with markup, as current markup ...
2
votes
1answer
1k views

Get the title of file and not file name in content query web part?

What do I use instead of <xsl:variable name="DisplayTitle"> <xsl:call-template name="OuterTemplate.GetTitle"> <xsl:with-param name="Title" select="''...
2
votes
2answers
193 views

Creation of a “Attend” button under each Event

I would like to ask if somebody could advise me how to create an "Attend" button in the Event form which appears when clicking on an Event. The goal is that there is a list of participants visible ...
2
votes
1answer
929 views

Internal Name not working in Content Query Web Part on SPS2007

I'm trying to get and display list columns in the Content Query Web Part. Unfortunatley, some of these column names are like "WEC_ArchiveDate" or "My Categories". So I find the internal SharePoint ...
2
votes
0answers
63 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 ...
2
votes
0answers
28 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
1answer
359 views

Add filters/refiners to CQWP webpart

I am on SharePoint Online environment, As a high level summary, we currently have pages that use a PageQueryString as a filter for a CQWP. However, from the results that are displayed within the web ...
2
votes
1answer
142 views

Content Query Web Parts does not show items after migration

I migrated from SharePoint 2010 to SharePoint 2016 and found that Content Query web part on the Home page does not display items. I have not changed any configurations after the migration. The Content ...
2
votes
0answers
61 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
40 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
1answer
487 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
0answers
50 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
1answer
211 views

How to get Posts with Content Query out of only one Blog-Category

I'm completely new in SharePoint, but today I was able to get the titles of posts out of a blog into the main page of my site collection. That was easy. But now I want more: Is it possible to ...
2
votes
1answer
549 views

How to query a column of a custom content type using Content Search?

How to query a column of a custom content type using Content Search? It is a date column and I would like to search Today+7 (today till the next 7 days).
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 ...
2
votes
2answers
581 views

Content Query Web Part - display certain section of list

I want to have a web part which displays data from a Sharepoint list. I have tried to do this using the Content Query Web Part by displaying the results in descending order using the 'Created' column, ...
2
votes
0answers
211 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
1answer
52 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 ...
2
votes
0answers
296 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
132 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
349 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
1answer
77 views

Importing CQWP second time changed the Field name to a Guid

I have a publishing site in 2013, pretty much OOTB. It has a news section as well which is where I created a bunch of news articles and everything is published. I then went to create a CQWP on the ...
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
0answers
106 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
2answers
695 views

Publish content from a subsite to the parent

I'm trying to work out if I can publish page content from a subsite upto the parent site. I want departments to have their own subsite where the manager can enter what's happening on the department ...
2
votes
1answer
316 views

How do I create a custom calendar using the Custom Content Query Webpart?

I currently have two sites right now, a Parent Team Site and a sub team Site. I am trying to use the content query webpart to pull the Calendar entries from the sub team Site into the Parent Team Site....
2
votes
0answers
473 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
213 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
672 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
79 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
797 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
1answer
2k views

CQWP - dynamically setting the list

I have a Webpart that extends the content query webpart, that is currently pointed to List X. On the click of a button I want that webpart to be changed to point to List Y. This seems like a very ...
2
votes
0answers
40 views

Help needed with the xsl output as shown on Marc's page [closed]

DVWP xsl formatting help needed
2
votes
1answer
460 views

how to use custom web part properties in CQWP

I have extended the CQWP and have several custom web part properties. One is a text field named "Header" and I would like to use it for a header in my CQWP. I know that I need to edit ItemStyle.xsl (...
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, ...
2
votes
1answer
174 views

Visual Upgrade and CQWP

We have upgraded two similar farms (one development and one test). The branding/design is identical and both farms are using Visual Upgrade. The farms have different versions of ContentQueryMain.xsl....
2
votes
1answer
1k views

SharePoint Content Query Web Part Group By, expand/contract

On my SharePoint 2007 site, I have a custom list. This list has a column "status" (with values "open" and "closed"). I can create a view on the list that groups by "...
2
votes
1answer
613 views

aggregate data source and pseudo join?

Is it possible to use the aggregatedatasource to show all "parents" and theirs "children" where at least one "children" is created by the current user ? To be more clear, imagine the following : ...
2
votes
0answers
1k views

Debugging XSLT in Visual Studio 2010 [closed]

I'm trying to debug XSLT for CQWP. I followed this guide. So I'm able to retrieve the XML, and link the files temporarily together using xsl:import. But then Visual Studio can't find the schema for ...
1
vote
2answers
15k views

How to format the date column in itemstyle.xsl

I'm editing the itemstyle.xsl to produce my own styling for a Content Query Web Part (CQWP) as follows: (NB - 2 laternative lines of code are shown as (A) and (B) <xsl:template name="MyNewStyle" ...
1
vote
6answers
7k views

SharePoint 2010 CQWP and Managed Metada columns

I am trying to use a content query web part on SharePoint 2010 Server and filter on site columns of type "Managed Metadata". These columns do not show up int the available columns drop down in the ...

1 2
3
4 5
12