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

This was all trivial in 2007. In 2010 I can't get the AllItems.aspx view to use my DisplayPattern.

This is the outline of my site column definition:

<Field
     Type="Computed"
     Name="Test"
     DisplayName="Test"
     Group="Test"
     ID="{9D7643FD-3D46-231E-8425D-5250C7524521}">
     <DisplayPattern>
        <![CDATA[hello world]]>
     </DisplayPattern>
</Field>

The "hello world" text is shown in the display form, but not in AllItems. Has something changed here?

share|improve this question
    
I've managed to do XSLT rendering for custom site columns, but it'd still be nice to know exactly what the state of DisplayPattern is too. –  grodrick Nov 17 '10 at 12:32
add comment

1 Answer

up vote 0 down vote accepted

As you might already know, the views are rendered by XSL list view web part and hence the rendering mechanism for views is now different than the list forms (display form that you referred) and different than MOSS 2007. What you need to do to have your own display pattern in SharePoint 2010 is well described in SDK here:

http://msdn.microsoft.com/en-us/library/ff606773.aspx

share|improve this answer
add comment

Your Answer

 
discard

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