2

EmbeddedSchemaField.Values is a collection of ItemFields objects (one for each value). If you have an optional embedded field, it will initially not have any values, so indeed EmbeddedSchemaField.Values.Count = 0 You can add values to the collection, though: Schema embeddedSchema = ((EmbeddedSchemaFieldDefinition)embeddedField.Definition).EmbeddedSchema; ...


Only top voted, non community-wiki answers of a minimum length are eligible