Sitecore 设置指定experience editor的上下文站点

Sitecore 设置指定experience editor的上下文站点,sitecore,sitecore8,sitecore8.1,Sitecore,Sitecore8,Sitecore8.1,我正在处理多站点,我想为上下文站点打开体验编辑器,但sitecore不解析上下文站点,它总是将我带到默认网站,在sitecore.config文件中有一个设置我将其设置为“true”,但它仍然将我带到默认网站: 这是sitecore.config中的设置,我的sitecore版本是8.1(更新2) 这在Sitecore 8.1(更新2)中报告为错误,这是支持团队的修复程序: 打开core数据库中的“/sitecore/client/Applications/Launchpad/PageSett

我正在处理多站点,我想为上下文站点打开体验编辑器,但sitecore不解析上下文站点,它总是将我带到默认网站,在sitecore.config文件中有一个设置我将其设置为“true”,但它仍然将我带到默认网站:

这是sitecore.config中的设置,我的sitecore版本是8.1(更新2)


这在Sitecore 8.1(更新2)中报告为错误,这是支持团队的修复程序:

  • 打开core数据库中的“/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEdit/ExperienceEditor”项
  • 将“链接”字段值更改为: /?sc_模式=编辑&sc_语言=0
  • 更新答案:

    对于多站点,您需要应用Anotor修复程序,因为我在上面找不到它的编号,所以我在dropbox上上载了所需的文件:

  • 从此下载Sitecore.Support.88883.zip

  • 将附加的Sitecore.Support.88883.dll文件复制到网站的/bin文件夹中

  • 将附加的Sitecore.Support.88883.config文件复制到您网站的App\u config/Include文件夹中
  • 打开core数据库中的“/sitecore/client/Applications/Launchpad/PageSettings/Buttons/ContentEdit/ExperienceEditor”项
  • 将“链接”字段值更改为:/?sc_模式=编辑&sc_解析语言=1
  • 清除浏览器缓存

  • 我以前也遇到过这个问题,这是sitecore中已知的bug。我尝试过下面文章中提到的方法。(然而,每当我在sitecore网站中复制新的dll时,我仍然会间歇性地面临这个问题。)

    我已将所有文件放置在我的一个驱动器链接中。请先备份现有文件(“WebEditRibbon.aspx”),然后再替换


    您看到了吗:?@MarekMusielak:我应用了此修复程序,但仍然存在相同的问题。对于由虚拟站点定义列表管理的多站点,此问题无法正确解决
    <!--  PREVIEW - RESOLVE SITE
                If false, the Preview.DefaultSite setting specifies the context site to use when a user previews an item.
                If true, when a user previews an item, Sitecore tries to resolve the root item and the context site based on the current content language
                and the path to the item. If Sitecore cannot resolve the context site, it uses the site that is specified in the Preview.DefaultSite setting.
                Default value: false (use the value of the Preview.DefaultSite setting)
          -->
        <setting name="Preview.ResolveSite" value="true"/>