Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

AEM6 sp2 Touch UI force refresh on switch to preview

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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 !

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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 !