Expand my Community achievements bar.

Attention: Experience League Community will undergo scheduled maintenance on Tuesday, August 20th between 10-11 PM PDT. During this time, the Community and its content will not be accessible. We apologize for any inconvenience this may cause.
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 !