Friday 4 November 2011

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="mailto:%7B@ID}" FieldName="V3Comments" ControlMode="Display" />
  9. Apply the changes

No comments:

Post a Comment