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

programmatically setting the CAML-query on the QueryOverride-member of an custom WebPart that inherits from ContentByQueryWebPart

The title pretty much sums up, what I'm looking for. I created a custom WebPart in Visual Studio 2010, for a SharePoint 2010 Solution, that derives from the ContentByQueryWebPart. The purpose of the WebPart is to show the users an overview of their…
Markus Schwalbe
  • 123
  • 2
  • 11
1
vote
2 answers

Content Query web part Rendering HTML source

We are using a Content Query web part to query for a specific reusable HTML content item and display it in a page layout (so it exists on every page) but it is appearing as HTML source, not rendered HTML. Any idea?
Bratl
  • 21
  • 2
  • 4
1
vote
1 answer

Sharepoint - CQWP to point to current site

In an ONET.XML file I build a page with a CQWP. The CQWP has a WebUrl property is there a way to set this to alway be the the current web? I tried this but it didn't work.s
pistacchio
  • 56,889
  • 107
  • 278
  • 420
1
vote
2 answers

Content Query Web Part - How do you OrderBy when you QueryOverride?

How do you order items when you override the QueryOverride property of the Content Query Web Part? I have been given responsibility for a Web Part which extends the Content Query Web Part. The QueryOverride property of this Web Part is…
Richard JP Le Guen
  • 28,364
  • 7
  • 89
  • 119
1
vote
1 answer

How to filter a MOSS2007 Content Query Web Part using a custom column?

I am trying to setup a content query web part in MOSS that will display documents on a page based on a choice column that I created. I have created a "Page" column and added it as a core document column for my site. What I would like the CQWP to…
Psycho Bob
  • 127
  • 2
  • 7
1
vote
0 answers

Does anyone have the source code of content monster web part?

the archived link on MSDN seems to broken and no longer works. the link on the author's blog points to MSDN too, I've already tried quiet a few blogs but all point to the same MSDN archive. thanks.
1
vote
1 answer

CPWQ displays document titles/notes instead of file names

I'm new to the Sharepoint 2007 server. I've built the CQWP which sits on the homepage and displays files (Word/Excel docs) uploaded to the Shared Document library on any subsite. The issue I'm having is that CQWP displays document titles or notes…
1
vote
1 answer

SharePoint XSL Counter

So I've been banging my head against the wall for a while and am looking for some help. I'm trying to create a new itemstyle in sharepoint designer that basically checks each item in a task list and then tallies up the total number of Completed, In…
1
vote
0 answers

How To Create a Custom Query in a CQWP

I am in the Content Query Tool Part, filtering my list with Managed Metadata Tags. My choices are "contains any of" and "contains all of". What I want is "does not contain", which is not listed. I am expecting the next input box in the CQTP, Custom…
Rob Cole
  • 721
  • 1
  • 6
  • 16
1
vote
1 answer

content query web part in page layout sharepoint

Is it possible to add a cqwp in a page layout? Ive tried to move the webpart from the page to the page layout used in the page. But In the second case i dont see anything. Anyone have an idea? Thanx
Simone
  • 2,304
  • 6
  • 30
  • 79
1
vote
1 answer

CQWP pulling link list , when a link is clicked renders the list item rather than opening the URL itself

I have a content query web part on page which i am using to pull a list of links (from a link list)to display on page. I thought clicking this link, user would be able to navigate to the link itself, but when clicked rather the List item is opened.…
sid
  • 43
  • 1
  • 1
  • 6
1
vote
0 answers

How to add custom control to ItemStyle.xsl for CQWP in SharePoint 2010?

I would like to display breadcrumb for the pages rendered in CQWP. I have created the custom control for the breadcrumb but having trouble to use it in ItemStyle.xsl. If you know how to use custom control in ItemStyle.xsl, please share some info.…
0
votes
1 answer

Limiting Group Items in the Content Query WebPart

Can I Limit Group Items in the Content Query WebPart so that the output is

Group Header

  • Item One
  • Item Two
  • Item Three
  • See More
I've followed the linked tutorial which works fine, I just can't…
Frank
  • 269
  • 1
  • 2
  • 8
0
votes
1 answer

CQWP Lookup Fields Multiple Site

I don't know what I am doing wrong but it is driving me mad. I am searching through Blog Sites and displaying posts including the PostCategory. I have exported the CQWP and updated viewcommonfields to include PostCategory,Lookup I have edited the…
0
votes
1 answer

SharePoint: CQWP display most recent list item (based on Date) for items with same Title

I have a content query webpart on a page in SharePoint 2010 that is pulling information from a custom list residing in the same site. The purpose of this list is to store the dates (start time, end time) for upcoming training sessions. Here is what…
Josh Henninger
  • 63
  • 1
  • 3
  • 9