Monday, March 31, 2008

SharePoint: Adding Custom Field in Content Query Webpart

Found this article at MSDN and ECM Team Blog which describe how to add a custom field into the presentation of content query webpart. The process involve two major work:

1. Export content query webpart into a dwp file, and add the custom fields.

2. Modify the XSLT to define the presentation for the custom field. The XSLT file is located in the folder Style Library à XSL Style Sheet àItemStyle.xsl, which you’ll need SharePoint Designer to access and modify.

Ref: http://msdn2.microsoft.com/en-us/library/bb850574.aspx http://blogs.msdn.com/ecm/archive/2006/10/25/configuring-and-customizing-the-content-query-web-part.aspx http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!491.entry

No comments: