Discussion Node Structure in Alfresco
We have seen how discussion feature is supported in Alfresco share in my previous post Discussion in Alfresco .
Under lying node structure of discussion is something like this
When you create a new Discussion Topic there are two contents created one is of type “topic” and another is of type “post” which is your original post.
Now when someone reply on the post there will be new content of type “post” is created.
Both the post are children of type topic the only different is second one have association of type “cm:references” with first post.
Mean all the replies will have reference of the post on which reply is given. As you can see in the image above. Each reply create new content node. This will be helpful more to developers.