Sitecore-多站点渲染使用动态数据源位置

Sitecore-多站点渲染使用动态数据源位置,sitecore,Sitecore,我继承了一个sitecore安装,它具有以下树 \sitecore \content \websitehome \Component Content \Rich Text 我现在正在寻找创建第二个网站,但这第二个网站需要它自己的副本的组件文件夹 所以我创建了一个类似于 \sitecore \content \websitehome \Component Content \Rich Text \newsite

我继承了一个sitecore安装,它具有以下树

\sitecore
  \content
    \websitehome
    \Component Content
        \Rich Text
我现在正在寻找创建第二个网站,但这第二个网站需要它自己的副本的组件文件夹

所以我创建了一个类似于

\sitecore
  \content
    \websitehome
    \Component Content
        \Rich Text
    \newsite
      \Home
      \Component Content
        \Rich Text
我有一个渲染,其中数据源位置当前是硬编码的 \sitecore\content\Component content\Rich Text

我一直希望修改此选项,以便渲染的数据源位置使用查询,并找到以下链接作为引用:

因此,我创建了以下查询: 查询:祖先或自身:*[@@templateid='{71443FD6-55D4-42BC-B762-80A00BC8B2D2}']/..//Component Content/Rich Text

{71443FD6-55D4-42BC-B762-80A00BC8B2D2}是\sitecore\content\websitehome和\sitecore\content\newsite\home使用的主页模板id

我使用了旧的sitecore xpath builder来验证查询是否有效

问题在于,对于上述查询,当显示“选择关联内容”对话框时,它不会被过滤到正确的路径,而是被过滤到sitecore根目录

我不知道哪里出了问题,也不知道为什么查询没有正确执行

该解决方案使用sitecore 8.2更新2