SP.Publishing.Variations object (sp.publishing)

Exposes essential information about the Variations system in a Site Collection that is activated with the Publishing feature.

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

var object = new SP.Publishing.Variations()

Members

The Variations object has the following members.

Methods

The Variations object has the following methods.

Method

Description

getLabels

Fetches the list of. SP.Publishing.VariationLabel object (sp.publishing) objects on the specified site that are available for the site collection.

getPeerUrl

Returns the corresponding publishing page URL for the specified SP.Publishing.VariationLabel object (sp.publishing) object.

updateListItems

Copies the content of the selected items into all variation labels that the list is nominated to.

Constructor

The Variations object has the following constructor.

Constructor

Description

Variations

Initializes a new instance of the SP.Publishing.Variations object.