Skip to content

Instantly share code, notes, and snippets.

@fluxdigital
Last active May 31, 2019 11:25
Show Gist options
  • Save fluxdigital/7cef49289981768ba220668187f83c78 to your computer and use it in GitHub Desktop.
Save fluxdigital/7cef49289981768ba220668187f83c78 to your computer and use it in GitHub Desktop.
Unicorn fieldFilter example
<configuration name="Shared" description="Shared Unicorn Config">
<predicate>
<include name="SharedPageLayouts" database="master" path="/sitecore/layout/Layouts/Shared" />
<include name="SharedTemplates" database="master" path="/sitecore/templates/Shared" />
<include name="SharedNavigation" database="master" path="/sitecore/content/Shared/Navigation" fieldTransforms="-Home Link">
</predicate>
<!--exclude the Navigation 'Home Link' field-->
<fieldFilter type="Rainbow.Filtering.ConfigurationFieldFilter, Rainbow">
<exclude fieldID="{A2B16B7789-7A0B-4FE6-94FD-66A9E6F8BD08}" note="'Home Link' field on the Navigation template" key="HomeLink" />
</fieldFilter>
<dataProviderConfiguration enableTransparentSync="false" />
<syncConfiguration updateLinkDatabase="false" updateSearchIndex="false" />
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment