Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2020 02:51 PM
Hi folks,
Any way to retrieve the comments of a document using javascript or query?
B.R.
Labels:
- Labels:
-
Alfresco Content Services
1 ACCEPTED ANSWER
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 03:35 AM
Document comments type if fmost.
To get all the comments for the document /app:company_home/app:shared/cm:file.txt, you can run a query similar to the following one:
var def = { query: "TYPE:'fm:post' AND PATH:'/app:company_home/app:shared/cm:file.txt//*'", language: "fts-alfresco", }; logger.log(search.query(def));
Hyland Developer Evangelist
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-16-2020 03:35 AM
Document comments type if fmost.
To get all the comments for the document /app:company_home/app:shared/cm:file.txt, you can run a query similar to the following one:
var def = { query: "TYPE:'fm:post' AND PATH:'/app:company_home/app:shared/cm:file.txt//*'", language: "fts-alfresco", }; logger.log(search.query(def));
Hyland Developer Evangelist
