Reproduction Steps for Challenging Errors Have you ever run into hard to reproduce errors in a production environment? You can see an error happened in the logs but it's just not reproducible in a development or staging environment?
Finding Changed TDS Content Items in Source Control Have you ever run into a situation where you needed to find all of the changed content items committed to git since the last production deployment? It's easier than you might think. It
Performance Issues with Federated Authentication and Virtual Users in Sitecore Sitecore's Federated Authentication functionality works great and only needs a small amount of code and configuration to get up and running. During a recent upgrade to 9.0 Update 2 we ran into
Sitecore 9: Mongo Migration Tips Here's a few tips that will help you survive a large mongodb migration into SQL Server. Indexes on the SQL Server I highly recommend creating some indexes on the SQL databases that will
Federated Authentication in Sitecore 9 One of the great new features of Sitecore 9 is the new federated authentication system. You can plug in pretty much any OpenID provider with minimal code and configuration. In this blog I'll
Dependency Injection Works in Dev but not Production You may run into a strange error if you're using code similar to Kam's example code for wiring up dependency injection in Sitecore. You will run into a situation where dependency injection is
Continuous Deployment - Changes in Sitecore 9 While working on some changes to our current continuous deployment process I came across an interesting change in Sitecore's .update package installer. Update packages cannot overwrite any config files that contain connectionstring in
XConnect: Concurrency token must not be specified for new entities If you're new to XConnect you may run into this issue when adding interactions to a contact. You'll probably have code similar to this: using (Sitecore.XConnect.Client.XConnectClient client = Sitecore.XConnect.Client.
Installing Sitecore 9.0 Update 2 With the recent release of Sitecore 9.1, Sitecore also released a new version of the Sitecore Installation Framework 2.0. They now recommend installing the framework through their official powershell gallery feed.
Installing SolrCloud for Sitecore 9 Part 2 This article continues the installation of SolrCloud that was started in part 1 Install Solr Download Solr version 6.6.1 here. Unzip it and copy the contents to d:\solr-6.6.1
Sitecore 9 Error: "There is no method 'Filter' on type... While building out a new Sitecore 9 implementation we ran into the following error: There is no method 'Filter' on type 'Sitecore.ContentSearch.Linq.QueryableExtensions' that matches the specified arguments] It turns out
Installing SolrCloud for Sitecore 9 Part 1 SolrCloud is the name of the functionality in Solr that supports high availability and fault tolerance through the use of a cluster. Using SolrCloud takes away a single point of failure that exists
Three Computed Fields that Every Sitecore Project Needs Data access in Sitecore is nearly always done through Sitecore's search APIs. This is a best practice in Sitecore as it significantly increases performance over the more direct item APIs when loading more
Is Your Development Machine Ready for Sitecore 9.x? As the installation process is a bit more involved for Sitecore 9 I thought it would be helpful to put a powershell script together that checks to see if all of the dependencies
Unit Testing Async Methods On a recent project I came across a situation where I needed to unit test a library that used RestSharp asynchronously. Here's an example of how it's done: [Test] public async Task GetBuildsOKTest(
New Location for Sitecore 9 Logs If you happen to be looking for the log files in your shiny new Sitecore 9 installation you will be surprised to find that the old "data" folder is gone. The
Microsite Page Fallbacks in Sitecore When companies start creating large numbers of microsites, it quickly becomes apparent that processes need to be put into place to prevent the duplication of content. One such strategy is to use page
Sample Code for Configuring Unicorn and Fortis Most of the examples of using Unicorn and Fortis are out of date as of May 2017. Here's some sample code (t4 templates) that should work. AssemblyReferences.tt <#@ Assembly Name="$(SolutionDir)
Triggering a Goal from a Goal in Sitecore In Sitecore all goals are technically page events. This can cause issues if you need to trigger a second goal via the rules on the original goal. Take the following example. A clicks
Using the Rules Engine to Trigger Goals In a Sitecore 8.x installation there is no out of the box way to trigger a goal from the rules engine. This can cause some trouble for marketers as there is no
When Scheduled Tasks in Sitecore Never Run I recently ran into an issue where scheduled tasks weren't running on my development machine but worked fine in production. It turns out it was a "feature" of the Sitecore Instance
Sitecore Error: Index Rebuild Fails with __display_name_t_da This error typically occurs with new Sitecore installs. This error is actually due to missing configuration in Solr, not the Sitecore website or project. The field __display_name_t_da just happens to
Sitecore Errors: fieldNameTranslator cannot be null Symptoms: Indexes complete instantly without actually rebuilding. The content editor errors with the fieldNameTranslator cannot be null error. This error typically comes up when Solr hasn't been configured correctly. The file global.asax
A Technical Overview of the List Manager in Sitecore 8.2 The Sitecore List Manager is used to create and manage lists of contacts for engagement plans and targeted email campaigns. Contact Lists Contact Lists are the building block of targeted email campaigns. They
Installing Sitecore 8 Powered by Commerce Server Install Sitecore This blog gives brief directions for installing Sitecore with Commerce Server Web Server Setup The Sitecore installation is a bit more manual than usual. Extract the installation zip and do the