<?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: Insert into custom metadata when inserting file(help) in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/insert-into-custom-metadata-when-inserting-file-help/m-p/217477#M170607</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;SPAN&gt;your post is a few months old. but i see that you have no reply for your requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After deploying your custm content model successfull, you should implement a custom Action class (see SDK example CustomAction). In the&amp;nbsp; executeImpl(Action action, NodeRef actionedUponNodeRef) call nodeService.setProperty(actionedUponNodeRef, qnme, value), where qname is the quallified name of your custom property. then define a composite&amp;nbsp; rule (in Web explorer) for the folder in question, the rule must be as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-when document comes specialize type(with condition such as based on mimetype) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-when document comes run custom action that you implements previosly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ihope it helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Oct 2010 15:12:52 GMT</pubDate>
    <dc:creator>simo2010</dc:creator>
    <dc:date>2010-10-11T15:12:52Z</dc:date>
    <item>
      <title>Insert into custom metadata when inserting file(help)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-into-custom-metadata-when-inserting-file-help/m-p/217476#M170606</link>
      <description>Hi,I am working on alfresco 3.2.x. I am new to it. I have created custom metadata and it is shown successfully when I view details of file. Now I want the custom metadata which I have created to be filled when I am inserting a document. I don't have any clue regarding that. Please tell me how to mak</description>
      <pubDate>Tue, 29 Jun 2010 09:21:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-into-custom-metadata-when-inserting-file-help/m-p/217476#M170606</guid>
      <dc:creator>harinderpal</dc:creator>
      <dc:date>2010-06-29T09:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: Insert into custom metadata when inserting file(help)</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/insert-into-custom-metadata-when-inserting-file-help/m-p/217477#M170607</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;SPAN&gt;your post is a few months old. but i see that you have no reply for your requirement.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Solution: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;After deploying your custm content model successfull, you should implement a custom Action class (see SDK example CustomAction). In the&amp;nbsp; executeImpl(Action action, NodeRef actionedUponNodeRef) call nodeService.setProperty(actionedUponNodeRef, qnme, value), where qname is the quallified name of your custom property. then define a composite&amp;nbsp; rule (in Web explorer) for the folder in question, the rule must be as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-when document comes specialize type(with condition such as based on mimetype) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-when document comes run custom action that you implements previosly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ihope it helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Oct 2010 15:12:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/insert-into-custom-metadata-when-inserting-file-help/m-p/217477#M170607</guid>
      <dc:creator>simo2010</dc:creator>
      <dc:date>2010-10-11T15:12:52Z</dc:date>
    </item>
  </channel>
</rss>

