<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Get document comments by js or query in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/get-document-comments-by-js-or-query/m-p/124291#M33970</link>
    <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any way to retrieve the comments of a document using javascript or query?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 19:51:17 GMT</pubDate>
    <dc:creator>pjcaracuel_2349</dc:creator>
    <dc:date>2020-12-15T19:51:17Z</dc:date>
    <item>
      <title>Get document comments by js or query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-document-comments-by-js-or-query/m-p/124291#M33970</link>
      <description>&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any way to retrieve the comments of a document using javascript or query?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;B.R.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 19:51:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-document-comments-by-js-or-query/m-p/124291#M33970</guid>
      <dc:creator>pjcaracuel_2349</dc:creator>
      <dc:date>2020-12-15T19:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get document comments by js or query</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/get-document-comments-by-js-or-query/m-p/124292#M33971</link>
      <description>&lt;P&gt;Document comments type if &lt;STRONG&gt;fm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ost&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;To get all the comments for the document &lt;EM&gt;/app:company_home/app:shared/cm:file.txt&lt;/EM&gt;, you can run a query similar to the following one:&lt;/P&gt;
&lt;PRE&gt;var def = 
{ 
    query: "TYPE:'fm:post' AND PATH:'/app:company_home/app:shared/cm:file.txt//*'", 
    language: "fts-alfresco", 
}; 

logger.log(search.query(def));&lt;/PRE&gt;</description>
      <pubDate>Wed, 16 Dec 2020 08:35:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/get-document-comments-by-js-or-query/m-p/124292#M33971</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-12-16T08:35:30Z</dc:date>
    </item>
  </channel>
</rss>

