I defined a custom list template with the following fields:
<Fields>
<Field Type="Text" DisplayName="Sub-Title" Name="SubTitle" StaticName="SubTitle" ShowInNewForm="TRUE"
ShowInEditForm="TRUE" ShowInViewForms="TRUE">
</Field>
<Field Type="URL" DisplayName="Header Image" Name="HeaderPicUrl" StaticName="HeaderPicUrl" ShowInNewForm="TRUE"
ShowInEditForm="TRUE" ShowInViewForms="TRUE">
</Field>
<Field Type="Note" RichText="True" RichTextMode="FullHtml" IsolateStyles="True" NumLines="5" Name="Summary" DisplayName="Summary"
StaticName="Summary" Sortable="False" ShowInNewForm="TRUE" ShowInEditForm="TRUE" ShowInViewForms="TRUE">
</Field>
<Field ID="{7662cd2c-f069-4dba-9e35-082cf976e170}" Type="Note" RichText="TRUE" RichTextMode="FullHtml" IsolateStyles="TRUE"
NumLines="45" Name="Body" DisplayName="$Resources:core,camlid2;" Sortable="FALSE"
SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Body">
</Field>
<Field ID="{6a09e75b-8d17-4698-94a8-371eda1af1ac}" Type="DateTime" Name="Expires" DisplayName="$Resources:core,camlid3;"
Format="DateOnly" FromBaseType="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Expires">
</Field>
</Fields>
Please note that the properties ShowInNewForm, ShowInEditFormand ShowInViewFormsset TRUE. When I create a list from an expanded template (I do this from VSeWSS 1.3), the list has the correct fields, but the form of the new element does not display user fields at all. Does anyone know why this is so? Do I have to fully customize the management templates uploaded with ListFormWebPartDoes the management objective defeat ListFieldIterator?
Edit:
In addition, the end of the schema.xml file has this bit:
<Forms>
<Form Type="DisplayForm" Url="DispForm.aspx" WebPartZoneID="Main"/>
<Form Type="EditForm" Url="EditForm.aspx" WebPartZoneID="Main"/>
<Form Type="NewForm" Url="NewForm.aspx" WebPartZoneID="Main"/>
</Forms>
source
share