Expand my Community achievements bar.

Touch UI AEM 6.1 : How to refresh one component from another component in afteredit listener

Avatar

Level 1

Hi,

  We have a requirement where if we made some changes in one component then another component on page should be refreshed rather than whole page.

we have configured the afteredit listener where we have written the custom script example : 

function(path, definition) {ns.edit.actions.doRefresh(this);}

problem is here in this object which is object of current component. can some tell me how we can pass the object of another component here, which we want to refresh.

Regards,

Vikas kasuhik

1 Reply

Avatar

Level 10

I do not think Granite API exposes a method that will let you refresh at a component level. You may have to do it the page level.