Highlighted

AEM 6.4 Component not refreshing afterinsert

Avatar

Avatar

kotisyamala

Avatar

kotisyamala

kotisyamala

30-04-2019

I'm trying to refresh the page after insert of a component with following cq:editConfig Listeners.

PageRefresh.PNG

AfterEdit & AfterDelete Page is getting refreshed but NOT afterinsert?

Replies

Highlighted

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

30-04-2019

Hi,

could you try to insert into the afterinsert the following element:

function(path, definition) { this.refreshCreated(path, definition); }

Instead of the REFRESH_PAGE.

Let me know.

Thanks,

Antonio

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

30-04-2019

On Author - when you drop a component and enter values into the dialog and click the done button in the dialog - the page refreshes and you see the component rendering the values you entered into the component. Is that your experience?

Highlighted

Avatar

Avatar

antoniom5495929

Avatar

antoniom5495929

antoniom5495929

01-05-2019

Hi smacdonald2008

The question of kotir86714101 is different.

He is facing issue by using the afterinsert that seems doesn't works in his components.

Thanks,

Antonio

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

01-05-2019