<?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 Custom types, Scripts and Rules in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-types-scripts-and-rules/m-p/163441#M117243</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I will try to explain my problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. I have created a custom type of content.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. It has several custom properties: Only some of them are mandatory ( shown in edit mode in the section modifying properties on uploading the file)&amp;nbsp; and the others ( not shown in edit mode) are calculated from the values of the mandatory ones.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. The way of calculating those properties is via a script triggered by a inbound rule. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And now my problem: The inbound rule runs &lt;/SPAN&gt;&lt;SPAN style="color:#FF4000;"&gt;BEFORE&lt;/SPAN&gt;&lt;SPAN&gt; the mandatory properties are assigned ( IN THE SAME PROCCESS OF UPLOADING THE FILE) and the result is that for my script all the properties are "null".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could anyone help me before going to beach??????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot in advanced,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Teresa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Aug 2008 16:02:16 GMT</pubDate>
    <dc:creator>tfpadilla</dc:creator>
    <dc:date>2008-08-07T16:02:16Z</dc:date>
    <item>
      <title>Custom types, Scripts and Rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-types-scripts-and-rules/m-p/163441#M117243</link>
      <description>I will try to explain my problem:1. I have created a custom type of content.2. It has several custom properties: Only some of them are mandatory ( shown in edit mode in the section modifying properties on uploading the file)&amp;nbsp; and the others ( not shown in edit mode) are calculated from the values of</description>
      <pubDate>Thu, 07 Aug 2008 16:02:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-types-scripts-and-rules/m-p/163441#M117243</guid>
      <dc:creator>tfpadilla</dc:creator>
      <dc:date>2008-08-07T16:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom types, Scripts and Rules</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-types-scripts-and-rules/m-p/163442#M117244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd suggest to try to run the script on update, or to configure a content handler that would allow to do this.&amp;nbsp; See example of this in the records management module - behaviour-context.xml configures several javascript content handlers that perform some actions.&amp;nbsp;&amp;nbsp;&amp;nbsp; I believe the configuration and file related to onCreateChildAssociation_rmaFilePlan_cmContains.js does similar stuff to what you need - it allows the user to upload the file, and then pre-pends the filename with some IDs.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Aug 2008 14:34:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-types-scripts-and-rules/m-p/163442#M117244</guid>
      <dc:creator>jbarmash</dc:creator>
      <dc:date>2008-08-13T14:34:57Z</dc:date>
    </item>
  </channel>
</rss>

