Posts

Showing posts from August, 2018

Use different module templates for feature and foundation projects when using add-helixmodule.ps1

The add-helixmodule.ps In my first Sitecore Helix project I got introduced to a PowerShell script add-helixmodule.ps1 This script has a few commands that you can call from the console inside Visual Studio: Add-Feature Add-Foundation Add-Project This script saves us a lot of time creating new feature and foundation projects in Visual Studio. It creates a project inside Visual Studio based on a "template". The creator of this PowerShell script is Marc Duiker, for more info you can read about it in his blog post here . Why have two different templates After creating several feature and foundation projects, I wanted to extend the template to have more references and files in the feature projects. I did not want to add all of these changes when creating foundation projects. The solution I solved this by creating two module template folders. One for Foundations and another for Features. In the Feature module template I added references to the foundation projects an

Welcome to this blog

When I first started as a Sitecore developer, it was hard to find solutions to Sitecore related problems with Google. This has changed, now there are several great blog posts out there that points me in the right direction. I hope my blog can point some of you in the right direction to your problems. About me My name is Ole Kristian Hvaale. I live in a small city Kongsberg (Norway). I have created web sites, portals and eCommerce solutions since 2007. The first years I worked mostly with Umbraco and similar CMS systems. In the later years I have been working as a team lead/tech lead in Sitecore projects.