Sitecore

Create simple Unit Tests for the Sitecore Content Search

I recently wanted to test a class where I used the Sitecore Content Search. As I didn’t found a simple example on Google I started to write this blog post. I want to show you in a very simple example how you can create a Unit Test for testing your Content Search queries. Let’s assume that I have a products data template, with a checkbox field (to mark that this is for free) and an Item Bucket where I store all the products. I want to retrieve all products in the Bucket which are for free, using…

Keep reading »

Hide fields in the Sitecore Content Editor

By default, the fields you add in your data templates are visible in the Content Editor. Usually this makes sense. But sometimes you add some fields you need to store some hidden information the author should not see or change. All default fields from Sitecore are hidden (i.e. information about statistics etc.). You, as an administrator, can show this fields by enabling the checkbox “Standard fields” in the “View” Ribbon. Adding fields which are only visible when this checkbox is enabled is…

Keep reading »

Sitecore User Group Switzerland – Round Two

Last year we have started with a Sitecore User Group in Switzerland. We had a great evening, listened to three presentations and talked a lot about our daily tech life with Sitecore. Now, the Sitecore User Group goes into the second round. The event The second event will take place on Monday, 27.04.2015 at the Downstairs Bar in Olten. It starts at 17:30, the first presentation will be about 18:00. More information including time schedule can be found on the event website. Basically the event…

Keep reading »

Be careful with Sitecore pipeline processors lifecycle

In a current project we have the requirement to show the same content in different contextes. For example, we want to show the same content item under different url’s with different breadcrumb navigation etc. To achieve this we’ve added a new processor for the pipeline where we build our context. In the different views we catch up this context and generate the markup. The context we build was registered with an IoC (inversion of control) container in a “per webrequest” lifecycle (a new instance…

Keep reading »

Sitecore MVP 2015

Every year, the most active Sitecore community members from around the world get nominated as a Sitecore Most Valuable Professional (MVP). I’m very happy to announce that I have been nominated as a Sitecore MVP 2015 in the category Technology. I am one of 167 other MVP’s worldwide who have been nominated in either the category Technology or Digital Strategies. In Switzerland there were 5 MVP nominations, four in the category Technology and one in Digital Strategies. Thank you Sitecore very much…

Keep reading »