SP.Publishing.Variations.updateListItems Method (sp.publishing)

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

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

SP.Publishing.Variations.updateListItems(context)

Parameters

  • context
    SP.ClientContext object (sp.js) object

  • listId
    Identifies the list that contains the items referenced in the itemIds parameter.

  • itemIds
    An array of list item identifiers to update in the target labels that this list is nominated to.

Remarks

When a variation is created, the entire hierarchy of Web sites is copied to the new variation for translation. Lists are excluded unless a user nominates them to the new variation. Items in lists that are nominated are updated by this method.