Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SitecoreCpok/eaaac380e6928a973f82c158cb2a5ce2 to your computer and use it in GitHub Desktop.
Save SitecoreCpok/eaaac380e6928a973f82c158cb2a5ce2 to your computer and use it in GitHub Desktop.
Unicorn Serialization for the Sitecore Helix based project
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<unicorn>
<configurations>
<configuration
name="Foundation.Serialization"
description="Foundation.Serialization templates and renderings">
<targetDataStore
physicalRootPath="D:\MyKart\MyKart\src\Foundation\Serialization\serialization"
useDataCache="false"
type="Rainbow.Storage.SerializationFileSystemDataStore, Rainbow"
singleInstance="true" />
<predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true">
<!-- Templates -->
<include name="Foundation.Serialization.Feature.Templates" database="master" path="/sitecore/templates/Feature">
<exclude children="true"/>
</include>
<include name="Foundation.Serialization.Foundation.Templates" database="master" path="/sitecore/templates/Foundation">
<exclude children="true"/>
</include>
<!-- Layouts -->
<include name="Foundation.Serialization.Feature.Layouts" database="master" path="/sitecore/layout/Layouts/Feature">
<exclude children="true"/>
</include>
<!-- Renderings -->
<include name="Foundation.Serialization.Feature.Renderings" database="master" path="/sitecore/layout/Renderings/Feature">
<exclude children="true"/>
</include>
</predicate>
</configuration>
</configurations>
</unicorn>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment