Geeks With Blogs
Hani Amr

Hello,

I've been struggling with variations for a lot of time. I always thought that it was a stupid feature in sharepoint because of the conflict it creates. It keeps on updating the page in the variation labels if you update it in the source label, which might not be very useful unless you're using resources heavily and localization.

The solution to this, was to disable the automatic propagation from the source label to all other labels, using this snippit:

[System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint")
$site = new-object Microsoft.SharePoint.SPSite("yoursiteurl")
$folder = $site.RootWeb.Lists["Relationships List"].RootFolder
$folder.Properties.Add("DisableAutomaticPropagation", "True")
$folder.Update();

Regards,

Posted on Sunday, October 2, 2011 12:12 PM Sharepoint 2010 | Back to top

Copyright © H@Ni | Powered by: GeeksWithBlogs.net