Last active
May 31, 2019 11:25
-
-
Save fluxdigital/7cef49289981768ba220668187f83c78 to your computer and use it in GitHub Desktop.
Unicorn fieldFilter example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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