After edit AEM 6.4 author component refresh not working

praveenp8152865 08-09-2019

Hi Guys,

I was using the Adobe AEM 6.4 , but even after using editConfigListener on component page refresh after editing the component is not working.

<?xml version="1.0" encoding="UTF-8"?>

<jcr:root xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0"

    jcr:primaryType="cq:EditConfig">

    <cq:listeners

        jcr:primaryType="cq:EditListenersConfig"

        afteredit="REFRESH_PAGE"/>

</jcr:root>

Any suggestion?

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

Umeshsondhi 08-09-2019

can u share how you are including your component ? Because it refreshes the inter frame and i doubt you are doing parent reloading .

you can force refresh by adding below script of category cq.authoring.dialog

(function ($, $document) {

    "use strict";

$document.on("dialog-success", function() {

window.location.reload();

})($, $(document));

thanks

Answers (0)