Can any one tell me how to create sharepoint 2013 variation labels using client side object model(CSOM).I know it is possible using SSOM and power shell.
Thanks in advance.
VariationsClient class is intended for managing Variation Labels in SharePoint 2013.
The following operations are currently supported:
VariationsClient.CreateLabel
method is used for create Variation LabelVariationsClient.GetLabelsList
method gets Variation Labels on site var variationsClient = new VariationsClient(ctx);
var siteLanguages = new[] {"en-US","ru-RU","fi-FI","nl-NL"};
foreach (var language in siteLanguages)
{
var isSource = (language == "en-US");
variationsClient.CreateLabel(new CultureInfo(language), isSource);
}