Switch the Context Item
Some times you’ll come across some code which relies on reading the Sitecore.Context.Item and there is no way for you to change this. This can occur when calling some standard Sitecore pipelines, some custom code which has been inherited without the source etc. Well, Sitecore API to the rescue. Introducing the ContextItemSwitcher I am not sure how long this has been a part of the Sitecore API, but at least since 6.4 where I first noticed it. ...