Sitecore "You must lock this item before you can edit" 丢失

Sitecore "You must lock this item before you can edit" is missing

我不知道在哪里打开这个警告信息。

我试过这个选项 <setting name="RequireLockBeforeEditing" value="true"/> 但它对我没有帮助。

Google 对我也没有帮助。

你有什么想法吗?

此选项仅对非管理员用户显示。

如果您以 admin 或任何其他具有管理员访问权限的用户身份登录,您将看不到它。

在 Sitecore 8.1 的全新安装中,除非您拥有支持 Commerce 的正确许可证,否则编辑器通知将被覆盖并显示有关此的警告。这将抑制所有其他通知,包括锁定和编辑警告。

您可以通过 including this patch 解决此问题(这基本上只是从 getContentEditorWarnings 管道中删除 Commerce License Editor 警告)。

<getContentEditorWarnings>
    <processor type="Sitecore.Commerce.Pipelines.ContentEditorLicenseWarning, Sitecore.Commerce">
        <patch:delete/>
    </processor>
</getContentEditorWarnings>

如果设置 RequireLockBeforeEditing = true,您现在应该会看到关于 "Lock & Edit" 的警告通知。