Experimenting with a SolrCloud container for Sitecore

I’ve got a project on the cards that I’d like to use docker containers for, but we’re talking about using SolrCloud for search. Right now, there isn’t a SolrCloud container in the Sitecore community container repo. So I started thinking about what would it take to make one. Continue reading

Thinking about importing content?

We spend a lot of time worrying about the marketing content, and the general website text and images in Sitecore. A lot gets said about patterns for organising that content. But some projects have information that comes from external systems that needs to be rendered on the website. And plenty of sites choose to integrate that into their main content tree. Over the years I’ve bumped into a few problems because of this – usually because I find myself supporting something where poor decisions were made early in the design process for the integration. So here’s some things to think carefully about if you’re planning work that relies on back-end data: Continue reading

Please don’t put Sitecore in Source control

If you’re looking for the simplest possible developer setup for Sitecore then creating an ASP.Net web project, dropping Sitecore over the top, configuring it for shared databases and checking it in to source control is the answer. Back in the day it was an accepted pattern to to work this way – so you could click “play” in Visual Studio to run your site. And I still find myself workig on projects running that way. But today this is considered a bad idea. So why do I keep finding projects set up this way, and why isn’t it a good approach? Continue reading

Hacking TDS into generator-helix

My moment of confusion from a while back came in the middle of a big chunk of client development work. The solution already used the generator-helix package, but the work needed to make use of TDS, rather than Unicorn. Since I was going to be involved in creating a set of new features, and potentially a load of TDS projects, I wondered what it would take to make the generator-helix package support TDS… Continue reading

Making an “XP without analytics” Docker image for Sitecore

One of the minor annoyances of some XM releases of Sitecore is that rather than just disabling analytics and not running xConnect, they do not include the DLLs necessary for personalisation at all. That can be a bit of a pain sometimes – as I discovered recently when I tried to deploy some client code into an XM docker container. The site broke because the client code included references to a personalisation DLL – which made me realise I actually wanted an “XP in XM mode” container so I didn’t need to bother with the memory and CPU for xConnect. So here’s how I hacked one up… Continue reading

A moment of confusion with “generator-helix”

Because of the old maxim “anything you do more than once should be automated”, we all find ourselves working with tools to auto-generate projects and solutions for Helix architecture these days. Mostly these tools work fine – but every so often you can bump your head against unexpected behaviour – as I did recently: Continue reading