cqwp

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, I'd like to create a custom display form for the content type and include it in my solu...

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

Hello, 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. I am now creating a custom xsl template to render the information correctly bu...

SharePoint domains and Content Query Web Part

Hi 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 CQWP then breaks, saying unable to display this web part? Any ideas appreciated. ...

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 when I deployed it to production the web part would say 'no items returned'. When I went ...

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? ...

How to apply custom ItemStyle.xsl to CQWP

Hello all I got a question about applying custom itemstyle.xsl to CQWP. I extracted existing CQWP, renamed it, and uploaded to webpart gallery on a site collection. The modified CQWP web part worked with no problem at all under default itemstyle.xsl After that, i copied itemstyle.xsl, renamed it to customitemstyle.xsl, and uploaded ...

CPWQ displays document titles/notes instead of file names

Hi folks, 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 instead of the actual file names. I would also like to display what subsite the d...

CQWP not querying custom document library of a custom site definition

All, I have created a custom site definition which contains custom document library with custom content types. I need to roll up items from these custom document libraries using a CQWP. For some strange reason when I query site collection, site and even a specific custom document library, I don't see the items being rolled up. All the c...

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 do is filter the document list that is displayed based on this Page column. However, this ...

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 programmatically changed. Currently, the Web Part does not function as designed, as it does not order ...

sharepoint: editing webpart caml

I added this code to my sharepoint content query web part, which is looking at an events list from my calendar, .webpart file in order to only show recurring events within the next month and regular events within the next month. However, I can't get the web part imported and working. Also is there any way to replace <Month /> with a rang...

How to group by a calculated column in a Content Query Web Part

I'm trying to build a Custom Query Web Part that pulls data from multiple lists (or I'd just do this with a List View) and I want to group the data by first letter, A-Z. Right now I have a calculated column that is using =LEFT(Title,1) to determine the first letter of each data entry. Even if I modify the .webpart file's GroupBy property...

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 <ul> <li> <img src="{RowAttribute-Url}" /> </li> <li> <img src="{RowAttribute-Url}" /> </li> </ul> <table> <tr> <td>{RowAttribute-Title}</td> <td>{RowAttribute-Title}</td> </tr> </table> and the input xml for the CQWP is <ds...