DaveGoosem
5/1/2014 - 1:41 PM

Switch Sitecore context

Switch Sitecore context

using (new SiteContextSwitcher(SiteContextFactory.GetSiteContext("shell")))
{
    //perform actions
}