Expand my Community achievements bar.

SOLVED

Override Default Sidekick Behaviour on Preview

Avatar

Level 2

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 ?

  

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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