Sitecore 8.2显示错误尝试访问方法';Sitecore.Context+;PageMode.get_IsPageEditor()';失败
我已从Sitecore 8.1升级到Sitecore 8.2。我使用了一种方法:Sitecore 8.2显示错误尝试访问方法';Sitecore.Context+;PageMode.get_IsPageEditor()';失败,sitecore,sitecore8.1,sitecore8.2,Sitecore,Sitecore8.1,Sitecore8.2,我已从Sitecore 8.1升级到Sitecore 8.2。我使用了一种方法: Sitecore.Context.PageMode.IsPageEditor 为此,它给出了一个错误: attempt by method METHOD_NAME to access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed. 我错过了什么? Sitecore.Context.PageMode.IsPageEditor 已在Sit
Sitecore.Context.PageMode.IsPageEditor
为此,它给出了一个错误:
attempt by method METHOD_NAME to access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed.
我错过了什么?
Sitecore.Context.PageMode.IsPageEditor
已在Sitecore.Kernel中弃用,因为Sitecore 8.0更新-6请参阅:
已弃用和删除的功能
属性IsPageEditor、isPageEditorDesign和
在Sitecore的class Context.PageMode中进行ISPageEditorEdit
名称空间已被弃用,取而代之的是新引入的名称空间
属性IsExperienceEditor和IsExperienceEditorEdit。古老的
属性将在未来的一个主要版本中删除。
(438475)
在Sitecore 8.2 update 1中,删除Sitecore.Context.PageMode.IsPageEditor
使用
Sitecore.Context.PageMode.IsExperienceEditor
同样适用于:
IsPageEditor, Obsolete Use IsExperienceEditor instead
IsPageEditorClassic, Deprecated always false
IsPageEditorDesigning, Obsolete Use IsExperienceEditorEditing instead
IsPageEditorEditing, Obsolete Use IsExperienceEditorEditing instead
IsPageEditorNavigating, Deprecated always false
Sitecore.Context.PageMode.IsPageEditor
已在Sitecore.Kernel中弃用,因为Sitecore 8.0更新-6请参阅:
已弃用和删除的功能
属性IsPageEditor、isPageEditorDesign和
在Sitecore的class Context.PageMode中进行ISPageEditorEdit
名称空间已被弃用,取而代之的是新引入的名称空间
属性IsExperienceEditor和IsExperienceEditorEdit。古老的
属性将在未来的一个主要版本中删除。
(438475)
在Sitecore 8.2 update 1中,删除Sitecore.Context.PageMode.IsPageEditor
使用
Sitecore.Context.PageMode.IsExperienceEditor
同样适用于:
IsPageEditor, Obsolete Use IsExperienceEditor instead
IsPageEditorClassic, Deprecated always false
IsPageEditorDesigning, Obsolete Use IsExperienceEditorEditing instead
IsPageEditorEditing, Obsolete Use IsExperienceEditorEditing instead
IsPageEditorNavigating, Deprecated always false