Try our conversational search powered by Generative AI!

Refresh the EditTree?

Vote:
 

Hi,

After creating a page & some child pages programmatically, how do I get them to show up in the EditTree? I can't seem to get this to refresh itself, any ideas?

Cheers.

 

#26277
Dec 01, 2008 2:14
Vote:
 
I could really use this as well - can anyone tell me if it's possible at all?
#31856
Aug 12, 2009 17:02
Vote:
 

right - gonna answer my own question. There are a couple of functions you can call through Javascript to do a refresh - the nodeId is a string containing the id of the node you wish to refresh from. Calling from the edit window the path is:

window.parent.EditTree.pageTreeView.RefreshChildren(nodeId) // nodeId optional

window.parent.EditTree.pageTreeView.RefreshNodeData(nodeId) 

window.parent.EditTree.pageTreeView.RefreshParent(nodeId) // nodeId optional

window.parent.EditTree.pageTreeView.RefreshChildrenIfVisible(nodeId)

 

#31863
Edited, Aug 13, 2009 10:09
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.