问题
I need to refresh sitecore tree node after publish it. Current behaviour is when I update some item and publish, sitecore tree node does not get refreshed. I have to manually refresh the sitecore tree node. How to accomplish this task?
回答1:
I've recently created a command where
Context.ClientPage.SendMessage(this, "item:load(id=" + item.ID + ")");
is used to load the newly created node. Maybe that works for you as well.
回答2:
John West has the best approach of this problem:
https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/load-or-reload-an-item-in-the-sitecore-asp-net-cms
来源:https://stackoverflow.com/questions/15759624/how-to-refresh-sitecore-tree-node-after-edit-that-item-and-publish-it