Managed Metadata Columns
-
Thursday, April 12, 2012 2:55 PM
Hello people,
I have a list with multiple metadata columns. I'm creating the columns in Visual Studio 2010. Here is an example of what one of the Managed Metadata Columns looks like:
<Field ID="{FB439E06-2886-4192-A4EF-F5FFB96675BE}" Type="TaxonomyFieldType" DisplayName="Plant Type" ShowField="Term1033" EnforceUniqueValues="FALSE" Group="Vana" StaticName="PlantType" Name="PlantType"> <Customization> <ArrayOfProperty> <Property> <Name>TextField</Name> <Value xmlns:q6="http://www.w3.org/2001/XMLSchema" p4:type="q6:string" xmlns:p4="http://www.w3.org/2001/XMLSchema-instance">{A3480734-51BB-4A1D-AC76-3D6CFC21FC9F}</Value> </Property> </ArrayOfProperty> </Customization> </Field>I have associated to another column of type="Note" associated to the managed metadata column as per the examples I've come across on line. Here is what it looks like:
<Field ID="{A3480734-51BB-4A1D-AC76-3D6CFC21FC9F}" Type="Note" DisplayName="Plant Type_0" StaticName="PlantTypeTaxHTField0" Name="PlantTypeTaxHTField0" ShowInViewForms="FALSE" Required="FALSE" Hidden="TRUE" CanToggleHidden="TRUE" RowOrdinal="0" />Do I have to have a separate "note" column for each managed metadata column or can I associate the one "note" column to all of the managed metadata columns?
For reference, here is a site I used:
Thanks for your help,
All Replies
-
Thursday, April 12, 2012 6:27 PM
Each managed metadata field will need it's own hidden note field. The note field contains term identifiers selected in the managed metadata field.- Proposed As Answer by Christopher ClementEditor Friday, April 13, 2012 6:58 AM
- Marked As Answer by Shaun Cline Friday, April 13, 2012 1:46 PM
-
Friday, April 13, 2012 1:45 PMThanks for your reply Jeff. I kind of thought that's what it was but I was seeing if I'd be able to save some time. Have a good weekend, Shaun

