<?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: filing records via Web Scripts / JavaScript API in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219074#M172204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering about whether Alfresco should call the "file" action upon TRANSACTION_COMMIT after adding record folder content.&amp;nbsp; It seems like this should be done for EVERY_EVENT.&amp;nbsp; How could I possibly set the record properties if the record aspect is not added until TRANSACTION_COMMIT (which I assume is outside the context of the web script, after the web script is done executing.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 19 Dec 2009 00:19:53 GMT</pubDate>
    <dc:creator>kgeis</dc:creator>
    <dc:date>2009-12-19T00:19:53Z</dc:date>
    <item>
      <title>filing records via Web Scripts / JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219073#M172203</link>
      <description>I'm having problems writing a web script that can put some content into a RM folder.&amp;nbsp; I am basing my script on the example upload script.&amp;nbsp; Here's a snippet from my script:&amp;nbsp; // find the appropriate record folder&amp;nbsp; var filePlan = companyhome.childByNamePath("Sites/rm/documentlibrary");&amp;nbsp; var recordFolde</description>
      <pubDate>Sat, 19 Dec 2009 00:04:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219073#M172203</guid>
      <dc:creator>kgeis</dc:creator>
      <dc:date>2009-12-19T00:04:00Z</dc:date>
    </item>
    <item>
      <title>Re: filing records via Web Scripts / JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219074#M172204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm wondering about whether Alfresco should call the "file" action upon TRANSACTION_COMMIT after adding record folder content.&amp;nbsp; It seems like this should be done for EVERY_EVENT.&amp;nbsp; How could I possibly set the record properties if the record aspect is not added until TRANSACTION_COMMIT (which I assume is outside the context of the web script, after the web script is done executing.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 19 Dec 2009 00:19:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219074#M172204</guid>
      <dc:creator>kgeis</dc:creator>
      <dc:date>2009-12-19T00:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: filing records via Web Scripts / JavaScript API</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219075#M172205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is a build in rule "Declare as record" you might be interested to have a look at. It can be applied to the folder where you upload the file to and might already do the job (and then check which other aspects are added).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Access is via the explorer client - create rule wizard.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Generally records can not have versions - you need to un-declare - re-declare them - same e.g. when filing emails with attachments - you need to spit them before declaring the file a record - otherwise you would change the file/record&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Updated) BUT- I just checked a photo record's aspects in the node browser - these show as following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Aspects&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/system/1.0}referenceable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/system/1.0}referenceable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}thumbnailed" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}thumbnailed&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}titled" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}titled&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/imap/1.0}flaggable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/imap/1.0}flaggable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}filePlanComponent" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}filePlanComponent&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/rmcustom/1.0}customSupplementalMarkingList" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/rmcustom/1.0}customSupplementalMarkingList&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}recordSearch" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}recordSearch&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}auditable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}auditable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/content/1.0}ownable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}ownable&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}declaredRecord" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}declaredRecord&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}record" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}record&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/dod5015/1.0}digitalPhotographRecord" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/dod5015/1.0}digitalPhotographRecord&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}commonRecordDetails" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}commonRecordDetails&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;A href="http://www.alfresco.org/model/recordsmanagement/1.0}recordComponentIdentifier" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/recordsmanagement/1.0}recordComponentIdentifier&lt;/A&gt;&lt;BR /&gt;&lt;STRONG&gt;{&lt;A href="http://www.alfresco.org/model/content/1.0}versionable" rel="nofollow noopener noreferrer"&gt;http://www.alfresco.org/model/content/1.0}versionable&lt;/A&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Fpp&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Dec 2009 07:19:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/filing-records-via-web-scripts-javascript-api/m-p/219075#M172205</guid>
      <dc:creator>fpp</dc:creator>
      <dc:date>2009-12-24T07:19:41Z</dc:date>
    </item>
  </channel>
</rss>

