Object & comment relationship
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-03-2015 01:07 AM
Hello Exerts,
Could anyone tell me how objects and comments are related to each other? How can I query comments of a particular object?
Thanks in advance
Could anyone tell me how objects and comments are related to each other? How can I query comments of a particular object?
Thanks in advance
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-05-2015 09:48 AM
Hello,
Comments (via the Share UI) are actually posts in a pseudo-discussion-forum for the affected object. When you look at a commented object via the NodeBrowser, you'll see a child node of type fn:forum containing a single topic "Comments" (type "fn:topic") which contains all the comments (type "fn
ost"). You can query those objects via a PATH query using the path of the object as the root (and maybe adding the fragments for the comments sub-structure).
Regards
Axel
Comments (via the Share UI) are actually posts in a pseudo-discussion-forum for the affected object. When you look at a commented object via the NodeBrowser, you'll see a child node of type fn:forum containing a single topic "Comments" (type "fn:topic") which contains all the comments (type "fn

Regards
Axel
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2015 03:37 PM
Axel, thanks a lot for the excellent answer. Now, the problem is if I create the same folder structure (same type and same names) from CMIS library and put some fm
osts inside them, share never detects them. In fact, if I create a comment from share ui too, it create two folder with the same name and type in inside a single parent folder. very weir. Could you give some pointers on that?
I could not find any documentation too.
Thanks in advance

I could not find any documentation too.

Thanks in advance
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-08-2015 03:27 PM
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
Could you please suggest me something? I am new to alfresco and found almost no documentation related to comments/ likes etc.
Thanks in advance
