SP. Objeto Taxonomy.TermStore (sp.taxonomy)

Representa un almacén que contiene metadatos dentro de objetos TermGroupSP. Objeto Taxonomy.TermGroup (sp.taxonomy) secundarios, objetos TermSetSP. Objeto Taxonomy.TermSet (sp.taxonomy) y objetos TermSP. Objeto Taxonomy.Term (sp.taxonomy).

Última modificación: lunes, 09 de marzo de 2015

Hace referencia a: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var object = new SP.Taxonomy.TermStore()

Miembros

El objeto TermStore tiene los siguientes miembros.

Constructor

El objeto TermStore tiene el siguiente constructor.

Constructor

Descripción

TermStore

Initializes a new instance of the SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

Métodos

El objeto TermStore tiene los siguientes métodos.

Método

Descripción

addLanguage

Adds a working language to the SP. Objeto 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. Objeto Taxonomy.TermGroup (sp.taxonomy) object in this SP. Objeto Taxonomy.TermStore (sp.taxonomy).

deleteLanguage

Deletes a working language from the SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

getChanges

Gets a list of changes to the SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

getGroup

Represents a store that contains metadata within child SP. Objeto Taxonomy.TermGroup (sp.taxonomy) objects, SP. Objeto Taxonomy.TermSet (sp.taxonomy) objects, and SP. Objeto Taxonomy.Term (sp.taxonomy) objects.

getSiteCollectionGroup

Returns the associated site collection group for the SP. Objeto de sitio (Object sp.js) object.

getTerm

Gets a Term based on its ID.

getTermInTermSet

Gets a SP. Objeto Taxonomy.Term (sp.taxonomy) object that is based on the ID of the SP. Objeto Taxonomy.TermSet (sp.taxonomy) object and the ID of the term.

getTerms

Gets more than one specified SP. Objeto Taxonomy.Term (sp.taxonomy) object from the term store.

getTermsById

Gets more than one specified SP. Taxonomy.TermStore.getTerms (método) (sp.taxonomy) object from the term store.

getTermSet

Retrieves a TermSet object based on a TermSet ID.

getTermSetsByName

Retrieves by name a SP. Objeto Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermSetsByTermLabel

Retrieves by label a SP. Objeto Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermSetsWithCustomProperty

Retrieves by custom property a SP. Objeto Taxonomy.TermSetCollection (sp.taxonomy) object.

getTermsWithCustomProperty

Gets by custom property a SP. Objeto 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. Objeto Taxonomy.TermStore (sp.taxonomy).

updateUsedTermsOnSite

This method makes sure that the current SP. Objeto Taxonomy.TermStore (sp.taxonomy) object is aware of all child SP. Objeto Taxonomy.Term (sp.taxonomy) objects that are used in the requested site collection.

Propiedades

El objeto TermStore tiene las siguientes propiedades.

Propiedad

Descripción

contentTypePublishingHub

Gets the URI of the SP. Objeto de sitio (Object 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. Objeto Taxonomy.TermStore (sp.taxonomy) object.

Grupos

Gets a collection of SP. Objeto Taxonomy.TermGroup (sp.taxonomy) objects from the term store.

hashTagsTermSet

Gets the hash tags term set for a SP. Objeto Taxonomy.TermStore (sp.taxonomy) object that contains a set of # tags.

Identificador

Gets the unique identifier of the SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

isOnline

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

keywordsTermSet

Gets the SP. Objeto Taxonomy.TermSet (sp.taxonomy) object for this SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

Idiomas

Gets an integer collection of LCIDs.

nombre

Gets the name of the current SP. Objeto Taxonomy.TermStore (sp.taxonomy) object.

orphanedTermsTermSet

Gets the SP. Objeto Taxonomy.TermSet (sp.taxonomy) for this SP. Objeto Taxonomy.TermStore (sp.taxonomy) that contains the set of Orphaned Term objects.

systemGroup

Gets the SP. Objeto Taxonomy.TermGroup (sp.taxonomy) object for this SP. Objeto 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. Objeto Taxonomy.TermStore (sp.taxonomy) object.