Expand my Community achievements bar.

Radically easy to access on brand approved content for distribution and omnichannel performant delivery. AEM Assets Content Hub and Dynamic Media with OpenAPI capabilities is now GA.
SOLVED

How to force a page reload when switching between Edit, Design, and Preview Mode (new touch ui)

Avatar

Level 2

Hi,

How to force a page reload when switching between Edit, Design, and Preview Mode aem 6?

From the classic ui the solution is force a page refresh automatically, but in the new version don't exist anymore the Sidekick 

Thank's in advanced

 

Josi

1 Accepted Solution

Avatar

Correct answer by
Level 9

It seems that switching is based on coral UI javascript events which doesn't make a call to page refresh.

All it does is changes layers from edit to preview and soon. I don't even see any configuration in console to have this feature enabled.

All these actions happen in the js files under the following folder

/libs/cq/gui/components/authoring/clientlibs/editor/js/layers

/libs/cq/gui/components/authoring/clientlibs/editor/js/edit

View solution in original post

1 Reply

Avatar

Correct answer by
Level 9

It seems that switching is based on coral UI javascript events which doesn't make a call to page refresh.

All it does is changes layers from edit to preview and soon. I don't even see any configuration in console to have this feature enabled.

All these actions happen in the js files under the following folder

/libs/cq/gui/components/authoring/clientlibs/editor/js/layers

/libs/cq/gui/components/authoring/clientlibs/editor/js/edit