Kyle Kingsbury

A Sitecore web development blog

Latest Posts

Updating Sitecore XP Roles to rotate logs based on file size

U

By default, logging within Sitecore XP roles uses a 1GB size limit per file and retains limits logs to 7 entries, logs are rolled per date. What this means, is if you hit the 1GB file size limit, logging will be stopped for that day and will resume the next day. There are two issues here, one is the file size of the log getting too big, and second, the logging stops after hitting that threshold...

Filtering Sitecore tree type fields by the inheritance chain

F

When working with the Helix design patterns, a typical situation comes up where the project will include templates in the Feature or Foundation layer that contain TreeList, TreeListEx or DropTree fields that will need to enforce selections based on a template in that module. However, due to limitations from the Sitecore fields you can only enforce selections based on specific templates, not based...

Sitecore Horizon Overview

S

Sitecore Horizon is the next-generation editor for the Sitecore Experience Platform. Horizon includes the following features:  Page Editor – used to create and edit pages  Simulator Mode – used to preview web pages across devices, including a timeline view to preview web pages by dates Insights View – used to view analytics about the web page With Horizon, Sitecore has separated...

Pattern for implementing a custom HtmlCacheClearer

P

While there are many blog posts detailing how to implement a custom HtmlCacheClearer, some of these blog posts omit the fact that the out of the box HtmlCacheClearer can be used with multiple type of EventArgs. The reason for multiple types of EventArgs is due to the separation of how the cache is being cleared through the event manager, either from a local event or from a remote event. Note that...

A faster IsDerived Extension Method

A

If you have been around Sitecore development long enough, you have undoubtedly run into the extension method ‘IsDerived’. This extension method allows developers to easily determine whether an item inherits from a specific base template; the template can be anywhere in the inheritance chain. This opens up a lot of possibilities for developers to customize the inheritance chain for...

A tale of improving the Sitecore 8.2 experience editor performance

A

In recent months, our Content Authors for an eCommerce site built with Sitecore 8.2 running on Azure (IaaS) were complaining about the painstaking process of editing and building pages with Sitecore’s Experience Editor. While not unheard for Content Authors to complain that the Experience Editor is a bit sluggish (as in always), the authors were pointing out that it would take 1-1.5 minutes...

Sitecore MVP 2019 – Technology

S

Yep, it happened! I am happy to announce that I have been awarded a Sitecore Most Valuable Professional (MVP) Award for 2019 in Technology. The Sitecore MVP Award is awarded to the most active Sitecore community members from around the world who provide valuable online and offline expertise that enriches the community experience and makes a difference. I am honored to be part of the Sitecore...

Creating a custom command with Sitecore PowerShell Extensions

C

Ever wondered how to extend Sitecore PowerShell Extensions (SPE) and add custom commands to streamline your development? In this post, i’ll review what you need to do to quickly start development. The Sitecore PowerShell Extensions (SPE) module is a Sitecore development accelerator which can drastically increase your productivity and curtail the amount of time it takes to deliver a Sitecore...

Failed to synchronize segments. Message: Value cannot be null

F

Probably once or twice a week, I take a few moments to review the Sitecore Logs looking for errors that may have been introduced that could be affecting our environments. While not a new message, I finally had a few moments to investigate what appears to be a common error for Sitecore 8.2 – 170407. If you are coming here after searching google, know you aren’t doing anything wrong...

Reaching the max pages viewed threshold for an xDb Session

R

In my current project, I came across an odd issue for a component that was developed using interactions captured by xDb where xDb would completely stop tracking after what appeared to be at arbitrary intervals. To some testers, xDb would stop tracking after 9 page views, others it was 10-12 page views. What I didn’t know at the time was that Sitecore xDb comes configured with a...

Kyle Kingsbury A Sitecore web development blog
Sitecore MVP 2019 - Technology

Recent Posts

Tags