SP.Taxonomy.TaxonomyField.anchorId property (sp.taxonomy)

Gets or sets the GUID of the anchor Term object for a TaxonomyField object.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.Taxonomy.TaxonomyField.get_anchorId()
SP.Taxonomy.TaxonomyField.set_anchorId(a)

Return value

The GUID of the anchor Term for a TaxonomyField object.