0

Extending below issue to the preview option from Sitecore V9.3 back office.

Error while previewing the Sitecore item/Sitecore.Pipelines.LoggedIn.LoggedInArgs' does not contain a constructor that takes 0 arguments

Whenever any item is previewed from back-office, it redirects to the desktop. If the same item is opened in the experience editor, it appears fine.

EDIT #1

All the required content is already published in the web database. And the whole home root folder of the site is there.

1
  • what URL you are getting when you open it in preview? Mar 6, 2020 at 11:33

1 Answer 1

2

If you check the enablePreview property under Sitecore.config file. It should be set to true like this.

<site name="website" enableTracking="true" virtualFolder="/" physicalFolder="/" rootPath="/sitecore/content" startItem="/home" language="en" database="web" domain="extranet" allowDebug="true" cacheHtml="true" htmlCacheSize="50MB" registryCacheSize="0" viewStateCacheSize="0" xslCacheSize="25MB" filteredItemsCacheSize="10MB" enablePreview="true" enableWebEdit="true" enableDebugger="true" disableClientData="false" cacheRenderingParameters="true" renderingParametersCacheSize="10MB" enableItemLanguageFallback="false" enableFieldLanguageFallback="false" role:require="Standalone or ContentManagement or ContentDelivery" />

When you make it false, it doesn't allow you to preview the page. But you can open it in experience editor.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.