In my post, How to Add Custom Buttons to the Content Editor Ribbon, I showed a snippet near the end that executes an import function. One small problem I came across, is that an agent won't work well with a method that has optional parameters.

Read More

Sitecore won't handle a page request as a 404 if the context language is missing. So, what this means, is your Users will just see  a blank page should the item exist in English but there's no French version, and they're requesting the French page. We need to override HttpRequestProcessor and  ExecuteRequest to make this a friendly experience for your Users. Let's get started!

Read More

Since the release of Sitecore 9+ we're seeing a lot of people posting in forums cases where they see errors related to indexes not found. Correcting this Sitecore startup issue was simple to fix once I figured out what's going on, and it's nothing related to indexes at all! 

Read More

There's no reason why you shouldn't be bundling your assets as it cuts down on requests by your Users. One thing about it, is the bundles are defined in the BudleConfig class on application startup. This means you have to re-deploy if the bundles need changing, so let's use Sitecore Config and Pipelines instead.

Read More

An old staple of Sitecore development is a custom logger. Yes, log file analyzers are great like we saw in my previous post, but sometimes you just want that special log where the entries are all yours. They're just for you. It's your own VIP room. Your own “members only” area, where all you see is only what you want to see. Ok enough, let's get started.

Read More