SP へTaxonomy.TermStore オブジェクト (sp.taxonomy)

SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy)オブジェクト、 SP へTaxonomy.TermSet オブジェクト (sp.taxonomy)オブジェクト、およびSP へTaxonomy.Term オブジェクト (sp.taxonomy)オブジェクト内のメタデータが含まれるストアを表します。

**適用対象:**apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Taxonomy.TermStore()

メンバー

TermStoreオブジェクトでは、次のメンバーがあります。

Constructor

TermStoreオブジェクトでは、次のコンスがあります。

コンストラクター

説明

TermStore

Initializes a new instance of the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

メソッド

TermStoreオブジェクトでは、次の方法があります。

メソッド

説明

addLanguage

Adds a working language to the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

commitAll

Commits all updates to the database that have occurred since the last update or rollback.

createGroup

Creates a new SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) object in this SP へTaxonomy.TermStore オブジェクト (sp.taxonomy).

deleteLanguage

Deletes a working language from the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

getChanges

Gets a list of changes to the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

getGroup

Represents a store that contains metadata within child SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) objects, SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) objects, and SP へTaxonomy.Term オブジェクト (sp.taxonomy) objects.

getSiteCollectionGroup

Returns the associated site collection group for the SP へサイト オブジェクト (sp.js) object.

getTerm

Gets a Term based on its ID.

getTermInTermSet

Gets a SP へTaxonomy.Term オブジェクト (sp.taxonomy) object that is based on the ID of the SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) object and the ID of the term.

getTerms

Gets more than one specified SP へTaxonomy.Term オブジェクト (sp.taxonomy) object from the term store.

getTermsById

Gets more than one specified SP へTaxonomy.TermStore.getTerms 方法 (sp.taxonomy) object from the term store.

getTermSet

Retrieves a TermSet object based on a TermSet ID.

getTermSetsByName

Retrieves by name a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermSetsByTermLabel

Retrieves by label a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermSetsWithCustomProperty

Retrieves by custom property a SP へTaxonomy.TermSetCollection オブジェクト (sp.taxonomy) object.

getTermsWithCustomProperty

Gets by custom property a SP へTaxonomy.TermCollection オブジェクト (sp.taxonomy) object.

rollbackAll

Discards all updates that have occurred since the last commit or rollback.

updateCache

Forces the taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a SP へTaxonomy.TermStore オブジェクト (sp.taxonomy).

updateUsedTermsOnSite

This method makes sure that the current SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object is aware of all child SP へTaxonomy.Term オブジェクト (sp.taxonomy) objects that are used in the requested site collection.

プロパティ

TermStoreオブジェクトでは、次のプロパティがあります。

プロパティ

説明

contentTypePublishingHub

Gets the URI of the SP へサイト オブジェクト (sp.js) object used as the content type syndication hub, if it exists.

defaultLanguage

Gets the LCID of the default working language for the current SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

グループ

Gets a collection of SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) objects from the term store.

hashTagsTermSet

Gets the hash tags term set for a SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object that contains a set of # tags.

id

Gets the unique identifier of the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

isOnline

Indicates whether this term store is currently online (available).

keywordsTermSet

Gets the SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) object for this SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

言語

Gets an integer collection of LCIDs.

Gets the name of the current SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.

orphanedTermsTermSet

Gets the SP へTaxonomy.TermSet オブジェクト (sp.taxonomy) for this SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) that contains the set of Orphaned Term objects.

systemGroup

Gets the SP へTaxonomy.TermGroup オブジェクト (sp.taxonomy) object for this SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object that contains the set of System TermSets (Keywords and Orphaned Terms).

workingLanguage

Gets the current working language for the SP へTaxonomy.TermStore オブジェクト (sp.taxonomy) object.