David Kitchen

Avatar

Just another SharePoint developer blogging

SharePoint SPListItem quirks

There are some funny things going on inside SharePoint, and this is one of the funniest... We have a list, with two fields: <Field Type="Text" DisplayName="Category" MaxLength="255" Name="Category0" ColName="nvarchar17" /> <Field Name="Category" FromBaseType="TRUE" Type="Choice" DisplayName="Category (deprecated)" Format="Dropdown" FillInChoice="FALSE" ColName="nvarchar2" ><!-- CHOICES --></Field> Note that one has the DisplayName of 'Category' and the other has the Name of 'Category'. The one with the Name ...

,