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