|
The Content Query Web Part is available with MOSS see more on this under the Web Part Section Content Query Web Part. Enhanced Content Query Web PartThe Enhanced Content Query Web Part is on CodePlex at http://www.codeplex.com/ECQWP
TipsFinding attribute names for XSLTThere is a great bit of guidance here at Content by Query Web Part Rendering Guidance on seeing the attributes and also values that the Content Query Web Part is exposing. Great way to check that your CommonViewFields are coming through. Filtering by List TemplateIf you create your own List Templates, you will get away with having the same Type as other List Templates...until you wish to filter by them using the ServerTemplate property of the Content Query Web Part. Ensure that you give you List Template a unique ID see Reserved List Template (ServerTemplate) ID's. You can get the ServerTemplate ID's via this code: SPListTemplate listTemplate = web.ListTemplates[listTemplateName];
contentByQueryWebPart.ServerTemplate = Convert.ToString((int)listTemplate.Type);
Multi-choice enabled fields not supportedBe careful when using multi-choice enabled fields, these are not supported by the CQWP. |
Displaying List Items using Content Query Web Part

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License. Hosted generously by CustomWare








