In Tridion 2011 I have a componen in which in the metadata fields has a keyword with different values. How should I get the selected value in c#. I tried the next but I get the name of the key not the selected value.
ItemFields fields = new ItemFields(component.Metadata, component.MetadataSchema); KeywordField key = (KeywordField)fields[fieldName]; return key.Name;
but I get the name of the keyword not the selected value. Keyword: Business Area Values: Corporate. Decorative paints. Performance coatings(selected one)