Configure Variations in SharePoint 2010

To make multilanguage sites in SharePoint 2010 you can use variations. Unfortunately provisioning this functionality programmatically is not really supported by SharePoint itself, so you have to use reflection or blogs like this one to find out how you can do this.
Here is my implementation.

STEP 1: Configure Variation Settings

image

STEP 2: Add Variation Labels

image

STEP 3: Start/schedule timerjob

image 

I had a lot of problems with the last line variationsJob.RunNow();. This code will throw an Access Denied-exception if you don’t have enough rights on the content database.
But at least the timer job is now scheduled to run between 0:00 am and 03:00 am, for me was that enough.

Reacties

Populaire posts