<?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: updating a file using Alfresco JavaScript API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193441#M146571</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you've updated properties only, then use node.save().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect the issue you have is that webscripts execute in one transaction - currently this is not configurable. You could change the webscript descriptor to not use transactions, but this isn't recommended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Mar 2009 12:10:18 GMT</pubDate>
    <dc:creator>mikeh</dc:creator>
    <dc:date>2009-03-26T12:10:18Z</dc:date>
    <item>
      <title>updating a file using Alfresco JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193440#M146570</link>
      <description>Using the Alfresco JavaScript API, I noticed that when you run a script that changes a file, the file is not updated until the script does not finish its execution.At least to me seems to behave in this way. :x I wanted to know if it is actually so, and if you can force the update of the file during</description>
      <pubDate>Thu, 26 Mar 2009 12:03:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193440#M146570</guid>
      <dc:creator>ngiolet</dc:creator>
      <dc:date>2009-03-26T12:03:14Z</dc:date>
    </item>
    <item>
      <title>Re: updating a file using Alfresco JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193441#M146571</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you've updated properties only, then use node.save().&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspect the issue you have is that webscripts execute in one transaction - currently this is not configurable. You could change the webscript descriptor to not use transactions, but this isn't recommended.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Mar 2009 12:10:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193441#M146571</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-03-26T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: updating a file using Alfresco JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193442#M146572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;These are your options, when talking about transactions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;transaction (optional) is the required level transaction; valid values are:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * none specifies that no transaction is required at all&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * required specifies that a transaction is required (and will inherit an existing transaction, if open)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; * requiresnew specifies that a new transaction is required &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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;MikeH, do you know of any documentation talking about transactions? I'm having troubles finding any.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 07:52:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193442#M146572</guid>
      <dc:creator>lista</dc:creator>
      <dc:date>2009-03-27T07:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: updating a file using Alfresco JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193443#M146573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;MikeH, do you know of any documentation talking about transactions? I'm having troubles finding any.&lt;/BLOCKQUOTE&gt;&lt;SPAN&gt;Not specifically, but these are the top wiki hits which talk about them:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Java_Foundation_API" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Java_Foundation_API&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Transaction_Management" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Introducing_the_Alfresco_Java_Content_Repository_API#Transaction_Management&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Alfresco_Repository_Architecture" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Alfresco_Repository_Architecture&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Mar 2009 08:25:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/updating-a-file-using-alfresco-javascript-api/m-p/193443#M146573</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-03-27T08:25:23Z</dc:date>
    </item>
  </channel>
</rss>

