Fixing history display for text fields

If you customised a list in SharePoint Designer with text fields using Append Changes to Existing Text, their history stopped appearing.

Fixing history display (Append Changes to Existing Text)

Edit the customised list in SharePoint Designer 2007 and find the text field with history.

Fixing history display (Append Changes to Existing Text) in DispForm.aspx

Replace:

<xsl:value-of select=”@V3Comments” disable-output-escaping=”yes” />

with

<SharePoint:AppendOnlyHistory runat=”server” FieldName=”V3Comments” ControlMode=”Display”/>

Your field may have a name other than V3Comments.

Fixing history display (Append Changes to Existing Text) in EditForm.aspx

Add:

<SharePoint:AppendOnlyHistory runat=”server” FieldName=”V3Comments” ControlMode=”Display”/>


Komentáře