SP.Publishing.VariationLabel.topWebUrl property (sp.publishing)

Returns the URL of the top Publishing Web of the variation hierarchy of this label.

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

var value = SP.Publishing.VariationLabel.get_topWebUrl()

Return value

The URL.