2

I'm able to use http://blog.mastykarz.nl/programmatically-provisioning-variations-in-sharepoint-server-2010/ link to automate variations setup SP 2013 via Powershell. One think I'm not able to figure out is, how to setup the Target Label Behavior to "Automatically Update". I've searched through the VariationsList Items properties to see if I can find any item which describes how to turn this on, but no luck. From what I read SP supposed to setup all variations to automatically update from source. Anybody ideas how to figure this out?

1 Answer 1

1

You can set UpdateWebPartsPropertyName property of _VarRelationshipsListId to true, for all the target variations to automatically update from source.

    $guid = [Guid]$rootWeb.GetProperty("_VarRelationshipsListId");
    $list = $rootWeb.Lists[$guid];    
    $rootFolder = $list.RootFolder;          
    $list.RootFolder.Properties["UpdateWebPartsPropertyName"] = $true;

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.