Category Archives: Pipelines

Sitecore MVC and the InsertRenderings Pipeline

The Collette website runs on Sitecore MVC, we are in the process of upgrading to the latest version of Sitecore 8. Mark Stiles and I were working on the genetic algorithm and noticed that my pipeline was not being hit.

I had this problem several months ago as well and ended up implementing that functionality outside of the pipelines because I couldn’t figure it out.

Well guess what! We found out why and it’s because of MVC! Sitecore MVC does not use the insertRenderings pipeline, it uses instead the mvc.getPageRendering pipeline. A quick change to use the new type of arguments and we were golden.

I defintiely wanted to share this experience. We actually found this because of a blog post we came across, which I can now not find…