sitecore8.1 - Sitecore 8.2 showing error attempt to access method 'Sitecore.Context+PageMode.get_IsPageEditor()' failed -
i have upgraded sitecore 8.1 sitecore 8.2. have method in using:
sitecore.context.pagemode.ispageeditor
for giving error:
attempt method method_name access method 'sitecore.context+pagemode.get_ispageeditor()' failed.
what missing?
the
sitecore.context.pagemode.ispageeditor
is deprecated in sitecore.kernel since sitecore 8.0 update-6 see release notes:
deprecated , removed functionality
the properties ispageeditor, ispageeditordesigning , ispageeditorediting in class context.pagemode sitecore namespace have been deprecated in favor of new introduced properties isexperienceeditor , isexperienceeditorediting. old properties removed in 1 of future major versions. (438475)
in sitecore 8.2 update 1 sitecore.context.pagemode.ispageeditor removed use
sitecore.context.pagemode.isexperienceeditor
same for:
ispageeditor, obsolete use isexperienceeditor instead ispageeditorclassic, deprecated false ispageeditordesigning, obsolete use isexperienceeditorediting instead ispageeditorediting, obsolete use isexperienceeditorediting instead ispageeditornavigating, deprecated false
Comments
Post a Comment