Skip to content

Instantly share code, notes, and snippets.

@JamesEggers1
Last active April 5, 2019 00:36
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 JamesEggers1/8a42c925b2909869cd71408d49057d19 to your computer and use it in GitHub Desktop.
Save JamesEggers1/8a42c925b2909869cd71408d49057d19 to your computer and use it in GitHub Desktop.
Sitecore 8.x Custom Facet Patch File
<?xml version="1.0" encoding="utf-8" ?>
<configuration xmlns:patch="http://www.sitecore.net/xmlconfig/">
<sitecore>
<model>
<elements>
<element interface="MyNamespace.Facet.IContactPortalInfo, MyNamespace" implementation="MyNamespace.Facet.ContactPortalInfo, MyNamespace"/>
</elements>
<entities>
<contact>
<facets>
<facet name="Payment" contract="MyNamespace.Facets.IContactPortalInfo, MyNamespace" />
</facets>
</contact>
</entities>
</model>
<sessionSerialization>
<allowedTypes>
<type>
MyNamespace.Facets.ContactPortalInfo, MyNamespace
</type>
</allowedTypes>
</sessionSerialization>
</sitecore>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment