Skip to content

Instantly share code, notes, and snippets.

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