Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.