SP.Taxonomy.TermStore.commitAll Method (sp.taxonomy)

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

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

SP.Taxonomy.TermStore.commitAll()

Remarks

When objects are edited in the term store, or in child objects such as SP.Taxonomy.TermGroup object (sp.taxonomy), SP.Taxonomy.TermSet object (sp.taxonomy), or SP.Taxonomy.Term object (sp.taxonomy), the changes are pending until the CommitAll method is called. Once it is called, the updates that were made since the last CommitAll() or SP.Taxonomy.TermStore.rollbackAll Method (sp.taxonomy) method calls are persisted to the term store’s database. A successful call to CommitAll flushed the cache so that other consumers of the TermStore object will see your updates.