We have added a refresh button in Context menu using assetsPanePluginArea.add(ReloadChildren); (Reload Children is command which has been added in assetsPane plugin area)
After button click we are able to pass the content link and update content changes in episerver database but facing one problem that the updated content does not appear in assets pane directly. When we manually refresh the browser page then the updated content is visible.
We have tried using topic.publish("/epi/cms/contentdata/childrenchanged", model[0].contentLink); but this does not seems to be working. Is there any method or way by which we can render the assets pane again without refreshing the page manually?
assetsPanePluginArea.add(ReloadChildren); (Reload Children is command which has been added in assetsPane plugin area)
topic.publish("/epi/cms/contentdata/childrenchanged", model[0].contentLink);
but this does not seems to be working.
Is there any method or way by which we can render the assets pane again without refreshing the page manually?