Sitecore

Dynamic field sources with getLookupSourceItems pipeline

In many link and list fields in Sitecore we can set an item source in the data template. With the source we define what for items the content authors can choose later on when editing his content. Sitecore resolves these items with the pipeline. This means that we can inject any action we want to resolve the source items. For example we could resolve items dependent on the value the author has chosen in another field. In the following little example I have a in my item to choose several themes…

Keep reading »

Sitecore MVC – Sample Items for Sitecore 8

Earlier this year I have blogged about a Sitecore package to convert the Sitecore sample items to use MVC based presentation. With Sitecore 8, you still need this package when you want to turn the presentation to MVC. But it does not fully work as Sitecore has changed the markup for the sample renderings. I have updated this package to work with the new layout for Sitecore 8. So if you need to test some MVC implementations on a clean Sitecore 8 installation, this should help you easily start…

Keep reading »

Three-layered architecture with Sitecore

Today I had the chance to present at the first Sitecore User Group Switzerland. The topic I’ve chosen is “Three-layered architecture with Sitecore”. Parts of the presentation were explaining the architecture itself, mention different libraries to use with Sitecore and to give a short demonstration. If you are only interested in the presentation or the code, scroll down to the end of this post and download the source. For all others I’m trying to give a short overview what I’ve talked about…

Keep reading »

Specify datasource item of a statically binded rendering

This StackOverflow question brought me to write this blog post. The question was, how it would be possible to specify the datasource item when you want to add a rendering directly from the code in Sitecore MVC. There are two types on how it’s possible to add a layout or a rendering to a page request: The renderings is attached via the presentation details of an item (called dynamic binding). The rendering is added directly in the code of another rendering (called static binding). Dynamic…

Keep reading »

Sitecore Vibes goes bilingual

In September 2010 we started a Sitecore tech blog at Unic. The blog is called Sitecore Vibes and was initially started in German only. Today we have migrated to the newest Sitecore and WeBlog version and also made the blog bilingual, where we want to write most of the posts in English. We have also included the Field Fallback module to have a language fallback to the German blog posts. This means that you can simply read the blog in English. All posts which are not translated to English are…

Keep reading »