Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I've added a append column to my list. In the default (OOTB) dispform.aspx and editform.aspx I can see the appended data.

I then create a new dispform.aspx (in SPD) and I can only see the last appended entry. All previous entries are missing). The same applies to editform.aspx.

Does anyone know how to correct this? This is the code inserted into the page:

<xsl:value-of select="@Action" disable-output-escaping="yes"/>

Thanks

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Raj,

Replace that with below:

<SharePoint:AppendOnlyHistory FieldName="Action" runat="server" ControlMode="Display" ItemId="{@ID}"/>
share|improve this answer
    
Hi Whats the difference, is this outputting differently somehow using XSLT ? Can I add scroll bars, output text is long? –  Raj Chahal Nov 22 '12 at 9:13
    
The difference is of the Control... the XSLT renders only a link to display form while this Control AppendOnlyHistory renders complete versions... Now about adding a scroll bar, I guess you can simply add a div and see how can you add scroll bars to div... –  Arsalan Adam Khatri Nov 22 '12 at 9:20
    
What I meant was do these controls deal with xml rendering differently. Is there more than one way to output html ? –  Raj Chahal Nov 22 '12 at 11:06
    
Don't know the other way, this always works well :) –  Arsalan Adam Khatri Nov 22 '12 at 11:10
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.