Using threshold warning limits in Sitecore

When working on an old Sitecore solution the log files are almost always completely spammed with different threshold warnings. 744 10:28:14 WARN Item threshold exceeded for web page. Items accessed: 2578. Threshold: 2000. Page URL: /xxxx.aspx 7672 10:28:15 WARN Item threshold exceeded for web page. Items accessed: 29145. Threshold: 2000. Page URL:xxxx.aspx 7672 10:28:15 WARN […]

Should be Sitecore best practices

During my work at Pentia I often perform health checks of existing Sitecore solutions built by other Sitecore partners. The solutions vary a lot in both quality and age but there are a few things which I need to point out as missing in each and every report. It is like it is secret Sitecore […]

Sitecore SPEAK rules magic

At this time of year everyone is speaking about Christmas magic, but today I will show you some SPEAK magic using rules. Following the example I gave in my last post where we made a text clickable and then changed the background color depending on the click, now let us make a rule which hides […]

Part 3: Introducing Sitecore SPEAK Components

This post is the third in a series about Sitecore SPEAK components. A SPEAK control rendering can be implemented in two ways. Simple approach, the control consists of a Razor view, a Javascript file and potentially some styling. Advanced approach, consist of the same as the simple approach with two C# classes and some extension method […]

Sitecore 7, Lucene 3.0 and Highlighted results

For all you that will use Lucene 3.0 under Sitecore 7 and want to highlight your results using Luce.Net.Contrib libraries, let me save you a whole lot of time. On Lucene.net page http://lucenenet.apache.org/ you will find a reference to the above mentioned package which i used for retrieving highlighted results from my Lucene index. All nice and […]

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 […]