Hi,
I have created a custom tree with publish controlled data items. This works fine (following the documentation at http://docs.composite.net/Console/AttachingElements). Tree nodes are created element handles from the data entity token)
As expected the publish toolbar shows up when a publish controlled data item is selected in the tree. I see in event handling that the PublicationStatus is modified when a button is clicked. The tree is not refreshed however. When I refresh the tree by hand the status is represented correctly.
I can do a manual tree refresh (the whole tree) which works but then the correct element is not selected anymore. I also consider this a performance risk as i do not know how many items the tree contains.
Can you give me any pointers how to refresh the tree correctly?
thnx,
JamBo
I have created a custom tree with publish controlled data items. This works fine (following the documentation at http://docs.composite.net/Console/AttachingElements). Tree nodes are created element handles from the data entity token)
As expected the publish toolbar shows up when a publish controlled data item is selected in the tree. I see in event handling that the PublicationStatus is modified when a button is clicked. The tree is not refreshed however. When I refresh the tree by hand the status is represented correctly.
I can do a manual tree refresh (the whole tree) which works but then the correct element is not selected anymore. I also consider this a performance risk as i do not know how many items the tree contains.
Can you give me any pointers how to refresh the tree correctly?
thnx,
JamBo