SP.Taxonomy.TermSetItem object (sp.taxonomy)

SharePoint 2013

Provides an abstraction of the TaxonomyItem object that is a parent of Term objects.

Last modified: June 28, 2013

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

var object = new SP.Taxonomy.TermSetItem()

The TermSetItem object has the following members.

Constructor

The TermSetItem object has the following constructor.

Constructor

Description

TermSetItem

Initializes a new instance of a SP.Taxonomy.TermSetItem object (sp.taxonomy) object.

Methods

The TermSetItem object has the following methods.

Method

Description

createTerm

Creates a new Term object under this TaxonomyItem object. The name is the default Label for the specified language code identifier (LCID).

deleteAllCustomProperties

Deletes all custom properties.

deleteCustomProperty

Deletes a custom property.

getTerms

Gets a paged collection containing the child Term objects of this TermSetItem object.

reuseTerm

Creates a new reused Term object under this TaxonomyItem object based on a source term.

reuseTermWithPinning

Creates a new Term under this TaxonomyItem (based on a source term and makes this Term pinned so that only the local custom properties, IsAvailableForTagging and custom sort order for this TermSet can be changes in this TermSet.

setCustomProperty

Adds a new custom property or updates the value of an existing property.

Properties

The TermSetItem object has the following properties.

Property

Description

customProperties

Specifies the collection of effective custom property instances for this Term or TermSet.

customSortOrder

Specifies the custom sort order for the child items of the current item.

isAvailableForTagging

Specifies the information about whether the TaxonomyItem appears in the tagging user interface.

owner

Specifies the name of the protocol client user who is responsible for this TaxonomyItem object.

terms

Gets a collection of the child Term objects of this TaxonomyItem.

Show: