SharePoint Development Blog

Nick Boumans
View my LinkedIn Profile Follow me on Twitter View my Profile on FaceBook View my projects on CodePlex View my presentations on SlideShare



Recent posts

Tags

Categories

Navigation

Pages

Archive

Blogroll

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Collabse Comment Field in Listview

You can collabse the command field of a list view webpart in the following way:

  1. Open your page which contains the listview webpart (and the command field) in SharePoint designer
  2. Right click the webpart (page is open in SharePoint designer) convert to XSLT Data View in SharePoint designer.
  3. Save the page from SharePoint designer
  4. Open the page in the browser
  5. Choose WebPart properties >> XSL Editor
  6. Locate the line: <Xsl:value-of .../> for the V3Comments field
  7. Replace the line by:
  8. <SharePoint:AppendOnlyHistory runat="server" ItemId="{@ID}" FieldName="V3Comments" ControlMode="Display" />
  9. Apply the changes
Posted: Dec 01 2010, 07:00 by Nick Boumans | Comments (0) RSS comment feed |
  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5