The error I'm getting when I click Customize Form on a list.
InfoPath cannot generate a form template for the SharePoint list Missing equals sign between attribute and attribute value.
The list content type and instance is deployed using a feature. It works well when the list field types are Text, Number, Choice, Number and Lookup. But when I add a User field InfoPath just complain with that error.
I tried to add as many attribute as I can and here's the CAML for the field.
<Field ID="{DBA48417-D25E-4DE3-985E-8584335B97A5}" Name="Account Manager" DisplayName="Account Manager" StaticName="AccountManager"
Type="User" List="UserInfo" EnforceUniqueValues="FALSE" ShowField="ImnName" UserSelectionMode="0" UserSelectionScope="0"
Required="FALSE" Sealed="TRUE" Sortable="FALSE" ColName="int1" RowOrdinal="0"
SourceID="http://schemas.microsoft.com/sharepoint/v3" Group="Test.Group" Version="1"
ShowInNewForm="TRUE" ShowInEditForm="TRUE" ShowInDisplayForm="TRUE"
>
</Field>
It shows up in the Site Columns and as a field inside my content type. Why does the Customize Form doesn't work?
If I try to deploy the feature without the User type. Then add the User type using the UI (create site column then add it to the content type) the Customize Form just works.