SP.Taxonomy.TermStore object (sp.taxonomy)
Represents a store that contains metadata within child SP.Taxonomy.TermGroup object (sp.taxonomy) objects, SP.Taxonomy.TermSet object (sp.taxonomy) objects, and SP.Taxonomy.Term object (sp.taxonomy) objects.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.Taxonomy.TermStore()
Members
The TermStore object has the following members.
Constructor
The TermStore object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.Taxonomy.TermStore object (sp.taxonomy) object. |
Methods
The TermStore object has the following methods.
Method |
Description |
---|---|
Adds a working language to the SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Commits all updates to the database that have occurred since the last update or rollback. |
|
Creates a new SP.Taxonomy.TermGroup object (sp.taxonomy) object in this SP.Taxonomy.TermStore object (sp.taxonomy). |
|
Deletes a working language from the SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Gets a list of changes to the SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Represents a store that contains metadata within child SP.Taxonomy.TermGroup object (sp.taxonomy) objects, SP.Taxonomy.TermSet object (sp.taxonomy) objects, and SP.Taxonomy.Term object (sp.taxonomy) objects. |
|
Returns the associated site collection group for the SP.Site object (sp.js) object. |
|
Gets a Term based on its ID. |
|
Gets a SP.Taxonomy.Term object (sp.taxonomy) object that is based on the ID of the SP.Taxonomy.TermSet object (sp.taxonomy) object and the ID of the term. |
|
Gets more than one specified SP.Taxonomy.Term object (sp.taxonomy) object from the term store. |
|
Gets more than one specified SP.Taxonomy.TermStore.getTerms Method (sp.taxonomy) object from the term store. |
|
Retrieves a TermSet object based on a TermSet ID. |
|
Retrieves by name a SP.Taxonomy.TermSetCollection object (sp.taxonomy) object. |
|
Retrieves by label a SP.Taxonomy.TermSetCollection object (sp.taxonomy) object. |
|
Retrieves by custom property a SP.Taxonomy.TermSetCollection object (sp.taxonomy) object. |
|
Gets by custom property a SP.Taxonomy.TermCollection object (sp.taxonomy) object. |
|
Discards all updates that have occurred since the last commit or rollback. |
|
Forces the taxonomy cache to communicate with the managed metadata service to check for changes to any taxonomy objects in a SP.Taxonomy.TermStore object (sp.taxonomy). |
|
This method makes sure that the current SP.Taxonomy.TermStore object (sp.taxonomy) object is aware of all child SP.Taxonomy.Term object (sp.taxonomy) objects that are used in the requested site collection. |
Properties
The TermStore object has the following properties.
Property |
Description |
---|---|
Gets the URI of the SP.Site object (sp.js) object used as the content type syndication hub, if it exists. |
|
Gets the LCID of the default working language for the current SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Gets a collection of SP.Taxonomy.TermGroup object (sp.taxonomy) objects from the term store. |
|
Gets the hash tags term set for a SP.Taxonomy.TermStore object (sp.taxonomy) object that contains a set of # tags. |
|
Gets the unique identifier of the SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Indicates whether this term store is currently online (available). |
|
Gets the SP.Taxonomy.TermSet object (sp.taxonomy) object for this SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Gets an integer collection of LCIDs. |
|
Gets the name of the current SP.Taxonomy.TermStore object (sp.taxonomy) object. |
|
Gets the SP.Taxonomy.TermSet object (sp.taxonomy) for this SP.Taxonomy.TermStore object (sp.taxonomy) that contains the set of Orphaned Term objects. |
|
Gets the SP.Taxonomy.TermGroup object (sp.taxonomy) object for this SP.Taxonomy.TermStore object (sp.taxonomy) object that contains the set of System TermSets (Keywords and Orphaned Terms). |
|
Gets the current working language for the SP.Taxonomy.TermStore object (sp.taxonomy) object. |