I have a feature that will add 2 columns to site columns. However I need to add them to the list. Because its an existing development and the didnt start from scratch using feature versioning, I prefer to do the second part by code.
These are my fields
<Field ID="{65076B51-5D7C-4140-A5E9-F7D794351489}" Name="BudgetType" DisplayName="$Resources:SPNLSponsoring,Field_BudgetInternalType_Name;" Description="$Resources:SPNLSponsoring,Field_BudgetInternalType_Description;" Group="$Resources:SPNLSponsoring,Field_NationaleLoterijSponsoringColumns_Group;" Type="TaxonomyFieldType" ShowField="Term1033" StaticName="BudgetInternalType" Required="FALSE" Hidden="FALSE" />
<Field ID="{5E4C6D2A-DA94-4547-80BD-D79C3DD15CB0}" Name="BudgetInternalTypeTaxHTField0" DisplayName="BudgetInternalTypeTaxHTField0;" Description="EventInternalTypeTaxHTField0;" Group="$Resources:SPNLSponsoring,Field_NationaleLoterijSponsoringColumns_Group;" Type="Note" StaticName="EventInternalTypeTaxHTField0" Hidden="TRUE" CanToggleHidden="TRUE" Required="FALSE" />
- How can I add them programatically to the list?
- How can I modify one view to add one of these columns?