Questions tagged [cqwp]

The Content Query Web Part (CQWP) aggregates and displays list items within a site hierarchy using lists, libraries or sites as a data source.

The Content Query Web Part (CQWP) aggregates and displays list items within a site hierarchy using lists, libraries or sites as a data source. The generated XML is styles by XSL to create output on the web page. The query is optimized for caching and the data can be updated asynchronously.

50 questions
5
votes
2 answers

Sharepoint ItemStyle.xsl for CQWP using images from a content type

I'm building a custom Content Query Web Part to display rollup information from an employee content type. This content type has a Publishing Image site column called EmpPhoto. My CQWP is working great and all the site columns I need are available.…
Jonny
  • 394
  • 7
  • 17
4
votes
3 answers

How to get the time from a dateTime value?

I have a XML attributes, 2011-06-16 08:00:00 and I want to extract 08:00:00 using XSLT. I saw there was fn:hours-from-dateTime(datetime) thanks to w3schools. So I'm wondering, why is there no…
Kraz
  • 6,910
  • 6
  • 42
  • 70
4
votes
1 answer

CQWP Renders only in Edit Mode

I have customized CQWP (Content Query Web Part) to display items from my sub sites. The items are filtered based on my custom content type. I have cusomized the rendering of additional fields in CQWP using ItemStyle.xsl. I am having a strange issue…
3
votes
1 answer

SharePoint domains and Content Query Web Part

I have created a new sharepoint site on our moss server at http://sharepoint:12345 and added a CQWP to it without issue. I have a domain name pointing at the same server. So I pointed to http://myinternaldomain.whatever:12345 and for some reason the…
78lro
  • 1,790
  • 7
  • 37
  • 63
3
votes
1 answer

Add paging in Content Query Web Part

I created a custom style in Content Editor Web Part by following this article: SharePoint 2010 XSLT date formatting and I achieved the desired result. But now I want to add paging to this new style. For adding paging I followed several articles but…
Zakir HC
  • 262
  • 2
  • 4
  • 18
2
votes
1 answer

XSL counter on specific condition for SharePoint 2010 CQWP

This is the first time I have ever posted a question so apologese in advance if I jibber here. I am trying to put together a CQWP with jQuery tabs slider functionality. The HTML I want to output should be in the form of 2 UL's. The first with li…
Dee
  • 31
  • 6
2
votes
1 answer

Modify attribute value in XSLT and call template again for second time

I'm working with the SharePoint content query web part. I have an HTML output which is desired to be
2
votes
1 answer

Display all surveys using content query web part

I am new to sharepoint development. I have created a subsite and called it Surveys. This will contain all the surveys created in the portal. Now, I want to display the latest survey on the homepage. I though I would be able to do that using a…
Yousof H
  • 21
  • 1
  • 3
2
votes
2 answers

SharePoint Cross Site Content Query Web Part

Besides buying a third party, what is the best approach to extending the CQWP control to include content from a seperate site collection?
Shane Jordan
  • 21
  • 1
  • 2
2
votes
2 answers

Content Query Web Part not displaying without web part zone

I am building a Sharepoint WCM site for a client. As part of a page layout I inserted a content query web part directly in the page, not in a web part zone (so the users couldn't edit it). Everything works fine in my development environment however…
Mark
  • 1,509
  • 1
  • 15
  • 28
2
votes
0 answers

CQWP display posts from multiple blog sites - NumComments doens't display

We've just upgraded SharePoint from 2007 to 2010. I've edited a CQWP that points to a site containing multiple blog sub-sites, and it grabs the latest posts from these sites, and displays the latest 5 on my homepage. I can get all fields to display,…
jon_wunder
  • 23
  • 4
2
votes
4 answers

Deployment of custom content type, forms, cqwp, and xsl

Right now I have a visual studio project which contains a custom content type that I made. It also contains all the necessary files for making a sharepoint solution (wsp) file and a script to generate this. Now, I would like to do 2 things. First,…
mortenbpost
  • 1,687
  • 16
  • 22
2
votes
2 answers

SharePoint - Content Query Web Part: Lookup Column Value and XSL

There is a List with Lookup field. And there is a CQWP web part which uses this list as a Source and uses custom XSL style added to Itemstyle.xsl. And there is a problem how to render this field as a link? Field name is 'Category' and…
Serhiy
  • 4,357
  • 5
  • 37
  • 53
1
vote
2 answers

Extend Content Query Web Part via Code

I'm trying to understand the mechanism to extend the cqwp via code. It may be hard to believe but I couldn't find a single article to create a web part inherited from content by query web part. What I need to do, is to type the listname in the web…
Beytan Kurt
  • 2,203
  • 4
  • 34
  • 57
1
vote
1 answer

Content query webpart - calendar issue with reccuring events

I have a content query webpart that read the calendar list and display currently running events. The issue I have is when I set up a recurring event, my query gets "broken". My CAML request :
Kraz
  • 6,910
  • 6
  • 42
  • 70
1
2 3 4