When I assign one of my content types to a document library, the last column defined in this content types is missing in the list of library columns. It is defined as
<Field
Type="Choice"
DisplayName="Document Class"
EnforceUniqueValues="FALSE"
Indexed="FALSE"
MaxLength="255"
Group="Project Site Columns"
ID="{xxx...x}"
StaticName="prj_document_class"
Name="prj_document_class"
ShowInNewForm="FALSE"
ShowInEditForm="FALSE"
ShowInDisplayForm="TRUE"
ShowInViewForms="FALSE"
ShowInListSettings="FALSE"
ShowInFileDlg="FALSE"
ShowInVersionHistory="TRUE">
<CHOICES>
<CHOICE>Public</CHOICE>
<CHOICE>Private</CHOICE>
</CHOICES>
</Field>
In the content type definition, the column is referenced as
<FieldRefs>
...
<FieldRef
ID="{xxx...x}"
DisplayName="Document Class"
Required="FALSE"
Name="prj_document_class"
Sortable="FALSE" />
</FieldRefs>
What am I doing wrong?