In this episode we look at how to enable communication between the delivery servers and the master database. We should already know that writing directly to the aster database is a bad idea, so what can we do? Sitecore remote events come to the rescue. Watch this video to see how to properly record user […]
As a general rule, making applications less intrusive is a good thing. This makes them more portable and makes maintenance of the hosting application much less costly. Sitecore and its sophisticated pipeline mechanism allows us to avoid making changes to the Global.asax. Watch this video to find out how we can do this with Sitecore […]
In this episode of Friday Sitecore Best practices we take a look at two ways of overriding Sitecore security restrictions with code – SecurityDisabler and UserSwitcher. It is important to understand the difference between the two methods and the implications of misuse. Watch this video to understand why the UserSwitcher is the recommended approach. […]
The request to create a NuGet repository has been pending for Sitecore’s attention for a while. Last year Sitecore came through and created a public repository for Sitecore libraries. Check out this video to find out why you should be using it, how, and the types of packages available for download.
In this video we look at the hidden, yet very useful feature of Sitecore, sorting. Sitecore allows us to enforce sorting rules on child items directly in content or in template standard values. At first seemingly unimpressive feature can actually be a very helpful tool in improving Sitecore content authoring experience, as well as help […]
Many things by now seems like second nature to me, including creating custom Sitecore search indexes for website public search. Once in a while I still run into implementations that use the default Sitecore content indexes for site search, which is not a good idea for many reasons. Watch this episode to find out some […]
In this episode we look at how to properly use Sitecore datasource setting on MVC renderings. Instead of doing intricate logic of manual datasource checks and fallbacks, we can simply use one line of code, which an do all that for us!
In this episode we look at how to properly expose content fields that are not rendered on the page in the Sitecore Experience Editor. For instance, page meta data, or orphan content fields that don’t belong to any particular component and at the same time not rendered on a page. I learned this trick years […]
In single-website Sitecore instances Controller Renderings reference controller actions in code using a simple controller name reference and action name on that rendering definition item. In multi-site Sitecore solutions such shortcut references may lead to naming collisions. To avoid such issues we need to use full controller type path. Check out this video to find out […]
Very frequently Sitecore developers create content that must remain in a certain location. Sitecore provides us a very useful feature to ensure no changes can be made to a particular item via item protection “Read Only” setting. This setting is much more powerful than removing write access to the item; watch this video to find out […]