Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

In my project I use ListFieldIterator control to allow users view and change meta data values. I can read values of ListFieldIterator fields with code like this:

object value = fldIterator.Item["FieldName"];

It works perfect for all fields except Enterprise keywords. It always return string ";#" no matter which value user have entered there. I'm sure that i'm using correct field name and I've tired to use DisplayName and StaticName instead, no luck. So is anyone could tell me what I'm doing wrong or how can i workaround this issue?

share|improve this question

1 Answer 1

Have you tried:

object value = fldIterator.ListItem["FieldName"];

I've not had problems with managed metadata fields when saving from an ListFieldIterator, but I'm using:

fldIterator.ListItem.Update();

... to save the values.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.