Axel, thank you very much for the excellent information. Yes, I was able to query and find out the folder structure. Now, the problem is that I want to create comments from CMIS so that share UI should display them as well. If I create a folder of type fm:forum->fm:topic (with exact names as "<object name> discussion" and Comments), share does not see that folder. In fact, if I create it and then comment from share UI, it creates two folders with the same name in which is very weird.
Could you please suggest me something? I am new to alfresco and found almost no documentation related to comments/ likes etc.
Thanks in advance