我正在使用Unicorn将项目序列化到我的本地文件系统。在这个配置中,我有一个包含很多项目的集合。这些项目不必序列化到我的文件系统,但根文件夹应该。Sitecore独角兽项目同步
所以我包含了根文件夹,但是如何配置Unicorn跳过它的子项呢?
<include database="master" path="/sitecore/content/mycollection" />
我希望像
<include database="master" path="/sitecore/content/mycollection" excludeChilds="true />
或
<include database="master" path="/sitecore/content/mycollection"><exclude "*" /></include>
集合是存储桶,其中包含存储桶文件夹。 – 2014-10-09 07:13:07
不可能排除项目,因为它是一个项目存储桶。我还必须排除项目存储桶文件夹模板,但这与我的应用程序中的其他存储桶发生冲突。 – 2014-10-09 07:15:16
Sander,如果您在该路径的include-tags中添加了项目存储桶文件夹模板,则只有包含路径下具有该模板的子项目才会被忽略。 – 2014-10-09 08:21:51