Hi folks,
Any way to retrieve the comments of a document using javascript or query?
B.R.
Solved! Go to Solution.
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));
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));
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.