Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Tree refresh in custom tree with publish controlled data items

$
0
0
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

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>