如何刷新Sitecore的树节点编辑后,该项目并发布 [英] How to refresh sitecore tree node after edit that item and publish it
本文介绍了如何刷新Sitecore的树节点编辑后,该项目并发布的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要刷新Sitecore的树节点发布之后。
目前的行为是当我更新了一些项目和发布,Sitecore的树节点没有得到刷新。
我必须手动刷新Sitecore的树节点。
如何完成这个任务?
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?
推荐答案
我最近建立了一个命令,其中
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.
这篇关于如何刷新Sitecore的树节点编辑后,该项目并发布的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文