Override Default Sidekick Behaviour on Preview | Community
Skip to main content
New Participant
October 16, 2015
Solved

Override Default Sidekick Behaviour on Preview

  • October 16, 2015
  • 1 reply
  • 663 views

Hi,

We are trying to override the functionality of the sidekick preview button so as to allow the page to reload on preview. Presently we have done it via overriding the /libs/wcm/core/components/init/init.jsp to explicitly add the property ' previewReload:"true" '. Is there some better approach to handle it which will be forward compatible with both AEM 6.0 and 6.1 ?

  

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Lokesh_Shivalingaiah

This should be compatible with 6.0 aswell I believe as the sidekick would be present only on the classic UI. However you can also override sidekick.js

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
New Participant
October 16, 2015

This should be compatible with 6.0 aswell I believe as the sidekick would be present only on the classic UI. However you can also override sidekick.js