Kyle Kingsbury

A Sitecore web development blog!

Latest Posts

Creating a custom command with Sitecore PowerShell Extensions


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


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


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...

Mapping integers values to boolean values within Solr with the ContentSearch API


If you work with Sitecore and search driven experiences enough, you will undoubtedly run into a scenario where you need to map a complex type from your codebase to a single entry into your index.  Luckily for us, Sitecore has already built the abstractions and the implementation into the Content Search API in order to handle mapping complex types into single fields within the index, the...

Targets dropdown not populating within the Link Dialog


Are you missing your link targets within the Speak UI link selection dialog, InsertLinkViaTreeDialog? If you have searched the internet and still haven’t come across an answer that worked, you have come to the right place. Missing Targets Dropdown Solution When the dialog first loads, it pulls the TargetsSearchPanelConfig provided within the Speak Layout. After the dialog has the...

Configuring Sitecore’s SolrProvider to use SolrPostConnection


By default, Sitecore’s ContentSearch Solr implementation is configured to send all requests to Solr using a HTTP GET. For most implementations, this is fine and shouldn’t need to be changed. However, if you are doing very complex queries you’ll quickly run into IIS’s web server query string and URL length limits. You have two options at this point, configure the limits...

Overriding the Sitecore Item Resolver? Watch out for the mvc.getPageItem pipeline!


Something that has been a bit annoying to me when developing custom ItemResolver’s for Sitecore MVC is that you cannot simply add logic into the httpRequestBegin pipeline to add your custom logic. No, that would be too simple right? If you are using Sitecore MVC than not only must you do your Item Resolution logic within the httpRequestBegin, you must also override or rearrange the mvc...

Handling Unhandled Exceptions within Sitecore Renderings


Even the best developers cannot stop the inevitable from happening. Whether it be a mistyped variable name within a view, an invalid content type set, or the dreaded null reference exception; errors like these and others creep up from time to time that can in some cases, bring down your Sitecore implementation. Nothing hits a developer harder than knowing their code took down the site, but...

Results from upgrading to Project Dilithium and Unicorn 4


If you haven’t been following along with the community, the serialization framework that has quickly become the standard for Sitecore received an upgrade this past week. I don’t think the timing of this release could have come at a better time, as i’ve been experiencing really poor performance with synching Unicorn with an underpowered environment. With Unicorn 4 being touted as...

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

Recent Posts