Développer ma barre des réalisations de la Communauté.

Get ready! An upgraded Experience League Community experience is coming in January.

Mark Solution

Cette conversation a été verrouillée en raison de son inactivité. Veuillez créer une nouvelle publication.

RÉSOLU

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 solution acceptée

Avatar

Réponse correcte par
Community Advisor

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

Voir la solution dans l'envoi d'origine

1 Reply

Avatar

Réponse correcte par
Community Advisor

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