AEM6.3 - force page refresh when change mode to preview on touch ui

Avatar

Avatar

elizabethp60981

Avatar

elizabethp60981

elizabethp60981

26-03-2018

Hi,

Each component dragged and dropped on my page goes inside a bootstrap collapsable, so I have to refresh the page to update the scripts.

Is there a way to force page refresh when the user goes to preview mode?

I was seeing some similar problems with solutions to classic UI, but I couldn't find nothing that applies to touch UI.

Is there a way?

Thank you in advance.

View Entire Topic

Avatar

Avatar

elizabethp60981

Avatar

elizabethp60981

elizabethp60981

11-05-2018

You should place the script on the clientlibs of the page that you use to overlay the wcm/foundation/components/page (the page that you have this path as sling:resourceSuperType)