<?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 Re: How can I add a comment to a document via an automation chain? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-add-a-comment-to-a-document-via-an-automation-chain/m-p/314012#M1013</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;you just need to do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;cm = Framework.getService(CommentManager);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;regards,
Thierry&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2015 08:15:51 GMT</pubDate>
    <dc:creator>Thierry_Martins</dc:creator>
    <dc:date>2015-08-06T08:15:51Z</dc:date>
    <item>
      <title>How can I add a comment to a document via an automation chain?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-add-a-comment-to-a-document-via-an-automation-chain/m-p/314011#M1012</link>
      <description>&lt;P&gt;Most information regarding a document is modifiable in some way in Studio, but I haven't found anything to manage comments.&lt;/P&gt;
&lt;P&gt;The closest I've found is the &lt;CODE&gt;CommentManager&lt;/CODE&gt; class, but I have not been able to get that to work in a Run Script&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;CommentManager cm = Framework.getService(CommentManager.class);&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;This errors with the message&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;An error occured while executing the chain 'TestChain': [Error: could not access: class; in class: java.lang.Class] [Near : {... Unknown ....}] ^ [Line: 1, Column: 0]&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;I don't know if this is the correct route or if it's even possible.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Oct 2012 17:24:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-add-a-comment-to-a-document-via-an-automation-chain/m-p/314011#M1012</guid>
      <dc:creator>nomennescio_</dc:creator>
      <dc:date>2012-10-23T17:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: How can I add a comment to a document via an automation chain?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-add-a-comment-to-a-document-via-an-automation-chain/m-p/314012#M1013</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;you just need to do&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;cm = Framework.getService(CommentManager);
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;regards,
Thierry&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 08:15:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-add-a-comment-to-a-document-via-an-automation-chain/m-p/314012#M1013</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2015-08-06T08:15:51Z</dc:date>
    </item>
  </channel>
</rss>

