Posts

Posts uit januari, 2020 tonen

Solution upgrade from Sitecore 9.01 to Sitecore 9.3

Recently I was involved in upgrading a Sitecore 9.01 solution to Sitecore 9.3. This was a Sitecore JSS based solution and it was quiet an interesting journey, so I decided to share with you some of the steps I needed to take to make this happen. Maybe you will run into the same thing. Sitecore databases For development environments in upgrade scenario's, my preference is always to start with a clean vanilla instance of the target Sitecore version. So I started by installing Sitecore 9.3. For an XP Single setup I could use the new Sitecore Installation Assistant with the graphical wizard to set it up. This went very smoothly after I made sure of the right prerequisites like SQL version etc. I would then proceed in upgrading my solution, and deploy it to this instance and serialize the custom Sitecore items with Unicorn after the initial deployment. Visual Studio project updates One of the changes that took most of my time was switching from 'traditional' nuget pack

Sitecore JSS Layout service extensions

Afbeelding
In my Sitecore symposium presentation in November 2019, I talked about our journey of converting from a MVC based solution to JSS based solution. I shared the key take aways earlier in a previous blogpost . In my presentation I touched upon a few extensions we made in our company that were really helpful for us and might also be interesting for the community to take a look at. So I decided to create a few gists to share them with you. How to create custom content resolver To create a custom content resolver. Next to writing the code to create the resolver, you have to add it to Sitecore. It would end up somewhere in the following location in the Sitecore tree: /sitecore/system/Modules/Layout Service/Rendering Contents Resolvers It should inherit from the following template: sitecore/templates/System/Layout/Layout Service/Rendering Contents Resolver   Then in that item point to the Class and assembly the sources are living in. Then for specific renderings, where you requir