<?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: Catch file deleting/importing in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200351#M153481</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will all get recorded in Alfresco audit logs, if you turn them on for the content import and deletion. This is logged in the database and can then be reported on by running queries against those logs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These wiki entries describe how to turn on auditing and sample queries to search the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Audit_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Audit_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Audit" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Audit&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will be more efficient than running a content rule to track imports / deletion.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2009 06:23:48 GMT</pubDate>
    <dc:creator>zaizi</dc:creator>
    <dc:date>2009-04-24T06:23:48Z</dc:date>
    <item>
      <title>Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200350#M153480</link>
      <description>Hi all,I would like catch when a file is deleted from a space or when a file is imported into a space.I have to log the name of the deleted/imported fileHave you any idea how I can solve my problem?I'm trying to create a rule for each space (or a rule for the parent space) but I'm having many proble</description>
      <pubDate>Thu, 23 Apr 2009 14:26:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200350#M153480</guid>
      <dc:creator>camillo</dc:creator>
      <dc:date>2009-04-23T14:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200351#M153481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This will all get recorded in Alfresco audit logs, if you turn them on for the content import and deletion. This is logged in the database and can then be reported on by running queries against those logs. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These wiki entries describe how to turn on auditing and sample queries to search the database. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Audit_Configuration" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Audit_Configuration&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Audit" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Audit&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will be more efficient than running a content rule to track imports / deletion.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 06:23:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200351#M153481</guid>
      <dc:creator>zaizi</dc:creator>
      <dc:date>2009-04-24T06:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200352#M153482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alternatively I propose you have a look to custom behavior / policies … you can catch a lot of events done in the webclient : for example NodeServicePolicies describes all the events which can be catched over a node process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From now, I don't know which solution is best…(the former or this one)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;More information : &lt;/SPAN&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-behavior/behavior-article.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-behavior/behavior-article.pdf&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 07:35:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200352#M153482</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-04-24T07:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200353#M153483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;thanks very much for your answers, but I need a rule&amp;nbsp; &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can my problem be solved using a rule?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If yes, have you any idea about how a similar rule could be written?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 08:30:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200353#M153483</guid>
      <dc:creator>camillo</dc:creator>
      <dc:date>2009-04-24T08:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200354#M153484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don't know if with rules "inbound" is equals to "import" and "outbound" is equals to "delete"…in case the rule is called for this two event (delete and import) then it is easy to track the document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For this develop your custom rule with a class that extends ActionExecuterAbstractBase the you implement the method &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;@Override&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;protected void executeImpl(Action pAction,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;final NodeRef pActionedUponNodeRef);&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Which give you a reference to the node from which the rule was called : pActionedUponNodeRef&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 09:20:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200354#M153484</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-04-24T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200355#M153485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer but I'm a very newbie. So, I need a rule written in Javascript.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Can i use any Javascript API's functions to solve my problem?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 09:27:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200355#M153485</guid>
      <dc:creator>camillo</dc:creator>
      <dc:date>2009-04-24T09:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Catch file deleting/importing</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200356#M153486</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can write the rule in javascript if you want. Then the associated action to the rule is "execute a script". That's all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You retrieve the "pActionedUponNodeRef" in java through the "document" variable in javascript I suppose.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can do all what you need.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2009 12:24:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/catch-file-deleting-importing/m-p/200356#M153486</guid>
      <dc:creator>zomurn</dc:creator>
      <dc:date>2009-04-24T12:24:09Z</dc:date>
    </item>
  </channel>
</rss>

