简体   繁体   中英

How to refresh sitecore tree node after edit that item and publish it

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM