Managed Metadata Columns
-
12 เมษายน 2555 14:55
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,
ตอบทั้งหมด
-
12 เมษายน 2555 18:27
Each managed metadata field will need it's own hidden note field. The note field contains term identifiers selected in the managed metadata field.- เสนอเป็นคำตอบโดย Christopher ClementEditor 13 เมษายน 2555 6:58
- ทำเครื่องหมายเป็นคำตอบโดย Shaun Cline 13 เมษายน 2555 13:46
-
13 เมษายน 2555 13:45Thanks 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