Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
发布后我需要刷新站点核心树节点。当前行为是当我更新某些项目并发布时,站点核心树节点不会刷新。我必须手动刷新 sitecore 树节点。如何完成这项任务?
我最近创建了一个命令
Context.ClientPage.SendMessage(this, "item:load(id=" + item.ID + ")");
用于加载新创建的节点。也许这也适合你。
John West 有解决这个问题的最佳方法:
https://community.sitecore.net/technical_blogs/b/sitecorejohn_blog/posts/load-or-reload-an-item-in-the-sitecore-asp-net-cms