<?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 Commit in Java Script in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/commit-in-java-script/m-p/179012#M132142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've coded a script that takes values from an excel sheet and then iterates over all of the documents in the Alfresco repository assigning data for an aspect.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The thing is it might be up to 30,000 iterations and I'd like to commit the transaction every time a document is assigned those values.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wondering if there is any way to control this from my script code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help will be greatly appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Jan 2009 20:28:25 GMT</pubDate>
    <dc:creator>ediez</dc:creator>
    <dc:date>2009-01-12T20:28:25Z</dc:date>
    <item>
      <title>Commit in Java Script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/commit-in-java-script/m-p/179012#M132142</link>
      <description>Hi all,I've coded a script that takes values from an excel sheet and then iterates over all of the documents in the Alfresco repository assigning data for an aspect.The thing is it might be up to 30,000 iterations and I'd like to commit the transaction every time a document is assigned those values.</description>
      <pubDate>Mon, 12 Jan 2009 20:28:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/commit-in-java-script/m-p/179012#M132142</guid>
      <dc:creator>ediez</dc:creator>
      <dc:date>2009-01-12T20:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: Commit in Java Script</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/commit-in-java-script/m-p/179013#M132143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Currently the only way to manually demarcate transactions is to implement the code in Java.&amp;nbsp; The main API of interest is the TransactionService (&lt;/SPAN&gt;&lt;A href="http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/transaction/TransactionService.html" rel="nofollow noopener noreferrer"&gt;http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/transaction/TransactionService.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Peter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jan 2009 00:12:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/commit-in-java-script/m-p/179013#M132143</guid>
      <dc:creator>pmonks</dc:creator>
      <dc:date>2009-01-13T00:12:26Z</dc:date>
    </item>
  </channel>
</rss>

