Skip to content

Instantly share code, notes, and snippets.

@michaellwest
Last active August 14, 2020 14:31
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 michaellwest/1240a3027e1152ec71884e9b9323c723 to your computer and use it in GitHub Desktop.
Save michaellwest/1240a3027e1152ec71884e9b9323c723 to your computer and use it in GitHub Desktop.
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"
xmlns:set="http://www.sitecore.net/xmlconfig/set/"
xmlns:role="http://www.sitecore.net/xmlconfig/role/"
xmlns:environment="http://www.sitecore.net/xmlconfig/environment/">
<sitecore role:require="Standalone or ContentManagement">
</sitecore>
</configuration>
<?xml version="1.0"?>
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<appSettings>
<add xdt:Transform="Insert" key="environment:define" value="Dev"/>
</appSettings>
</configuration>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/" xmlns:set="http://www.sitecore.net/xmlconfig/set/" xmlns:role="http://www.sitecore.net/xmlconfig/role/" xmlns:environment="http://www.sitecore.net/xmlconfig/environment/">
<sitecore role:require="Standalone or ContentManagement">
<unicorn>
<configurations>
<configuration name="Company.Project.DotCom" description="Files and items for the DotCom website." dependencies="Company.Website" extends="Company.Base">
<predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true">
<include name="Forms" database="master" path="/sitecore/Forms/Company/DotCom" environment:require="Int or Tst or Prd">
<exclude childrenOfPath="usa/*" />
</include>
<include name="Forms" database="master" path="/sitecore/Forms/Company/DotCom" environment:require="Dev" />
<include name="Content" database="master" path="/sitecore/content/Company/DotCom" environment:require="Int or Tst or Prd">
<exclude path="usa/Home" />
</include>
<include name="Content" database="master" path="/sitecore/content/Company/DotCom" environment:require="Dev" />
</predicate>
<dataProviderConfiguration enableTransparentSync="true" type="Unicorn.Data.DataProvider.DefaultUnicornDataProviderConfiguration, Unicorn" singleInstance="true" environment:require="Dev" />
</configuration>
</configurations>
</unicorn>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment