ReadOnly Property in Custom Column Types in Sharepoint
- by Ray Booysen
Hey all
I'm creating a custom column in a feature for Sharepoint. It is essentially this:
<Field
Type="Integer"
ID="<insert guid here>"
ReadOnly="true"
Name="xxx"
DisplayName="XXX"
Group="YYY" />
When the field is deployed and attached to a content type, the content type shows no instance of this field being attached. The documentation about ReadOnly is a bit vague but definitely states that the column will be available for viewing in a View. However, when I create a view it is not available.
The moment I remove ReadOnly from the field, it is available on the content type without any problems. Any ideas?