Skip to main content
added 21 characters in body
Source Link
Eric Alexander
  • 43.3k
  • 10
  • 54
  • 93

Another way to set metadata field value to null.You You should get TaxonomyField first.

TaxonomyFieldValue fieldValue = new TaxonomyFieldValue(field);

field.SetFieldValue(item,fieldValue);

Item.UpdateOverwriteVersion();

TaxonomyFieldValue fieldValue = new TaxonomyFieldValue(field);

field.SetFieldValue(item,fieldValue);

Item.UpdateOverwriteVersion();

Another way to set metadata field value to null.You should get TaxonomyField first.

TaxonomyFieldValue fieldValue = new TaxonomyFieldValue(field);

field.SetFieldValue(item,fieldValue);

Item.UpdateOverwriteVersion();

Another way to set metadata field value to null. You should get TaxonomyField first.

TaxonomyFieldValue fieldValue = new TaxonomyFieldValue(field);

field.SetFieldValue(item,fieldValue);

Item.UpdateOverwriteVersion();
Source Link

Another way to set metadata field value to null.You should get TaxonomyField first.

TaxonomyFieldValue fieldValue = new TaxonomyFieldValue(field);

field.SetFieldValue(item,fieldValue);

Item.UpdateOverwriteVersion();