AEM6 sp2 Touch UI force refresh on switch to preview | Community
Skip to main content
Level 2
October 16, 2015
Solved

AEM6 sp2 Touch UI force refresh on switch to preview

  • October 16, 2015
  • 1 reply
  • 766 views

Is it possible to force refresh when switching to preview mode in TouchUI?

In Classic you can set the previewReload:"true" when launching the sidekick (see below), however I can't find anything similar to enable this in Touch UI.

ClassicUI

<script data-sly-test="${!wcmmode.disabled && !wcmInit.isTouchAuthoring}" type="text/javascript">

CQ.WCM.launchSidekick("${currentPage.path @ context='uri'}", {

        propsDialog: "${wcmInit.dialogPath @ context='uri'}",

        locked: ${currentPage.locked @ context="scriptString"},

        previewReload: "true"

    });

</script>

Any assistance would be greatly appreciated.

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

I dont think anything is there for Touch UI. However authors can refresh the page after changing the mode.

you can raise a ticket for the same and see if they have any alternative !

1 reply

Lokesh_Shivalingaiah
Lokesh_ShivalingaiahAccepted solution
Level 10
October 16, 2015

I dont think anything is there for Touch UI. However authors can refresh the page after changing the mode.

you can raise a ticket for the same and see if they have any alternative !