Second day of Christmas… Keystone merge tips!

Published by

on

On the second day of Christmas, my true blog gave to me:

Two Keystone merge tips,
…and a placeholder rule in the content tree.

Let’s check out those merge tips!

Merging Transforms

When you receive the Keystone source code package, it contains a sample Website project to let you quick-start your development. Sometimes, you already have a website project and need to merge these Keystone files into your existing web project.

Adding files to your project works for most, but be careful of transform files on the configurations and dialog overrides. When added to your new project, they will lose their transformation association which will lead to multiple versions of the file being deployed. You will need to re-associate the transformation with the base config file. I find this is most easily done by editing the XML of the project file directly.

AnalyticsController conflict with Coveo

If you have Keystone 4.7.1 or earlier, the MVC controller for the Google Analytics functionality is called “AnalyticsController”. We have found that this conflicts in our layouts with Coveo which also has a controller named “Analytics”. If you have Coveo, during your merge you should update Keystone MVC layouts and the controller class name to refer to “KeystoneAnalytics”.

BootstrapLayout.cshtml:

@Html.Sitecore().Controller("KeystoneAnalytics", "Google")

 

10 responses to “Second day of Christmas… Keystone merge tips!”

  1. Third day of Christmas… Powershell Scripts! | Agile and ALM Avatar

    […] powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  2. Fourth Day of Christmas… Continuous Integration tools! | Agile and ALM Avatar

    […] CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  3. Fifth Day of Christmas… Five Golden Rules | Agile and ALM Avatar

    […] Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  4. Sixth day of Christmas… Keystone config tips! | Agile and ALM Avatar

    […] Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  5. Seventh day of Christmas… most-heard retrospective comments | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  6. Eighth day of Christmas… Scaling agile! | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  7. Ninth day of Christmas… Nine Giphy’s Dancing! | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  8. Tenth day of Christmas… Coding WTFs! | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  9. Eleventh Day of Christmas… Lip Syncing! | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

  10. Twelfth day of Christmas… Sitecore memes! | Agile and ALM Avatar

    […] comments, Six Keystone config tips, Five Golden Rules! Four CI tools, Three powershell scripts, Two Keystone merge tips, …and a placeholder rule in the content […]

Leave a reply to Seventh day of Christmas… most-heard retrospective comments | Agile and ALM Cancel reply