<?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: Javascript executed twice in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308573#M261703</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How you have configured the content rules ? Have you configured both inbound and update rule?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 06:25:20 GMT</pubDate>
    <dc:creator>yogeshpj</dc:creator>
    <dc:date>2013-11-26T06:25:20Z</dc:date>
    <item>
      <title>Javascript executed twice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308572#M261702</link>
      <description>Hello, my alfresco executes my scripts twice every time and i can't understand why. I've created this script:&amp;lt;blockcode&amp;gt;function main(){&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;var spaceName="Sites/trilogis/documentLibrary";&amp;nbsp;&amp;nbsp;&amp;nbsp;var&amp;nbsp; rootSpaceName=companyhome.childByNamePath(spaceName + "/Offerte");&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(rootSpaceName == null)</description>
      <pubDate>Mon, 25 Nov 2013 17:01:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308572#M261702</guid>
      <dc:creator>tytanix</dc:creator>
      <dc:date>2013-11-25T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript executed twice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308573#M261703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How you have configured the content rules ? Have you configured both inbound and update rule?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 06:25:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308573#M261703</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2013-11-26T06:25:20Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript executed twice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308574#M261704</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've configured only the "on update" rule on root and checked rule inheritance for subfolders.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 08:05:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308574#M261704</guid>
      <dc:creator>tytanix</dc:creator>
      <dc:date>2013-11-26T08:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript executed twice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308575#M261705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There must be two transaction which updates your content and that may be the one of the reason why your update rule called twice.Could you please tell me what exactly happens once you upload the document?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 06:01:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308575#M261705</guid>
      <dc:creator>yogeshpj</dc:creator>
      <dc:date>2013-11-27T06:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Javascript executed twice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308576#M261706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When i upload a document, i can choose the document type before upload starting (i've modified the flash-upload.get.js).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Clicking on "ok" the navigateTo() function is called to display the edit-metadata page. After adding value to metadata i click "Save" button. I thought that the scripts would be executed after this operation but it seems not like that.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Nov 2013 09:21:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/javascript-executed-twice/m-p/308576#M261706</guid>
      <dc:creator>tytanix</dc:creator>
      <dc:date>2013-11-27T09:21:02Z</dc:date>
    </item>
  </channel>
</rss>

