Kyle Kingsbury A Sitecore web development blog!

CategorySitecore

Targets dropdown not populating within the Link Dialog

T

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

C

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!

O

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

H

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

R

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

Unit-testing devices and layouts with Sitecore.FakeDb

U

After writing a few extension methods that checked whether a Sitecore Item had a layout for the default device or any device, I wondered if I could use the Sitecore.FakeDb library to unit-test these extension methods and provide some much needed code coverage for a project i’m working on. As most people do, I quickly did a few google searches and I was shocked, I couldn’t find any...

Deliver faster with the Fluent ContentSearch Library

D

With the Sitecore 7 release, Sitecore introduced the ContentSearch API to improve developer’s lives by providing a familiar LINQ abstraction on top of Lucene and SOLR. This allowed developers to develop against a single API that could work with any search provider, all while using LINQ’s very, very likable API. While the ContentSearch API provides the abstraction over the search...

Sitecore Cache Extensions

S

Months ago, I wrote a helix-based module for caching within Sitecore that allowed developers to add configuration-based caches to their projects in a unit-testable way. Without a proper introduction, the module didn’t receive much fanfare… bummer. So, here goes… Introducing the Sitecore Cache Extensions The Sitecore Cache Extensions is a helix-based module that provides a...

Kyle Kingsbury A Sitecore web development blog!

Recent Posts

Tags