I'm new to Unicorn, but recently we tried to add an item to a section that's been configured in Unicorn and we are getting the following error:
The parent item of /sitecore/templates/Site/Foundation/MultiTenant/New Template was not serialized. You cannot have a sparse serialized tree. You may need to serialize this item's parent.
But I have the patch configured like the following, which I thought would serialize the parent and all items underneath:
<!-- See Unicorn.config for commentary on how configurations operate, or https://github.com/kamsar/Unicorn/blob/master/README.md --> <configuration xmlns:patch="http://www.sitecore.net/xmlconfig/"> <sitecore> <unicorn> <configurations> <configuration name="Foundation.MultiTenant" description="MultiTenant Items" dependencies="Foundation.Serialization"> <targetDataStore physicalRootPath="$(sourceFolder)\Foundation\MultiTenant\Serialization" type="Rainbow.Storage.SerializationFileSystemDataStore, Rainbow" useDataCache="false" singleInstance="true" /> <predicate type="Unicorn.Predicates.SerializationPresetPredicate, Unicorn" singleInstance="true"> <include name="Foundation.MultiTenant.Templates" database="master" path="/sitecore/templates/Site/Foundation/MultiTenant" /> </predicate> </configuration> </configurations> </unicorn> </sitecore> </configuration>
Can someone clue me into what this error message means and what might be missing from my Serialization patch that would fix this issue?