Showing posts with label Version History. Show all posts
Showing posts with label Version History. Show all posts

Friday, January 14, 2011

SharePoint 2010: Version History for Multiline text column with “Append Changes to Existing Text” not visible in SharePoint 2010 Custom Edit forms

Problem Statement:
If you have created a Multiline textbox with “Append Changes to Existing Text”
This will display a version history for that column in default Edit and Display form, but the same thing won’t work in the custom edit and display forms.
Solution:
Add tag below the text fields control with Control mode “Display” and unique Id.
<SharePoint:AppendOnlyHistory runat="server" id="ff21disp{$Pos}" controlmode="Display" fieldname="Comments "></SharePoint:AppendOnlyHistory>