<?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 Need some help with declaring records in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222330#M175460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to automate the process of declaring a record: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;when you upload a file in the folder, it's marked as undeclared record. you have to fill in some mandatory metadata so you that the action 'declare as record' will be available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What I tried to do is to create tow actions: the first one is to execute a small javascript that will set the record's mandatory metadata, the second one is the built in 'declare record' action. the whole thing didn't work. I got a failure message when I try to upload the file into the folder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use only the first action with the javascript,&amp;nbsp; the record's mandatory metadata is set but the action 'declare as record' is still is not available.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;here is the javascript I used&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;document.properties["rma:originator"]="Originator";&lt;BR /&gt;document.properties["rma:originatingOrganization"]="Originating Organization";&lt;BR /&gt;document.properties["rma:publicationDate"]=new Date("12/29/2009");&lt;BR /&gt;document.save();&lt;BR /&gt;&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something wrong with what I did?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better way to this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thought is welcome. Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Dec 2009 11:28:44 GMT</pubDate>
    <dc:creator>alaa</dc:creator>
    <dc:date>2009-12-31T11:28:44Z</dc:date>
    <item>
      <title>Need some help with declaring records</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222330#M175460</link>
      <description>Hi!I would like to automate the process of declaring a record: when you upload a file in the folder, it's marked as undeclared record. you have to fill in some mandatory metadata so you that the action 'declare as record' will be available.What I tried to do is to create tow actions: the first one i</description>
      <pubDate>Thu, 31 Dec 2009 11:28:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222330#M175460</guid>
      <dc:creator>alaa</dc:creator>
      <dc:date>2009-12-31T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with declaring records</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222331#M175461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try checking the aspects and meta data with the node browser (explorer / admin console) when you're applying them via your script against a manually created record.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 11:48:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222331#M175461</guid>
      <dc:creator>fpp</dc:creator>
      <dc:date>2009-12-31T11:48:47Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with declaring records</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222332#M175462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It works know!? And I didn't change anything!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I just restarted the alfresco server. that' weird.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you anyway.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Dec 2009 15:00:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/need-some-help-with-declaring-records/m-p/222332#M175462</guid>
      <dc:creator>alaa</dc:creator>
      <dc:date>2009-12-31T15:00:46Z</dc:date>
    </item>
  </channel>
</rss>

