AnsweredAssumed Answered

Howto Apply a custom type to all files on a folder

Question asked by coffman on May 23, 2007
Latest reply on May 23, 2007 by rhofkens
Hello …
I am defining a custom type Invoice like this one:

   <types>
      <type name="custom:invoice">
         <title>Invoice</title>
         <parent>cm:content</parent>
         <properties>
            <property name="custom:invoiceDate">
               <type>d:datetime</type>
            </property>
            <property name="custom:invoiceId">
               <title>Id of the Invoice</title>
               <type>d:text</type>
            </property>
         </properties>
      </type>
    </types>

I am uploading all invoices automatically with a scanner to a directory, so i would like to Convert all documents incoming into a directory throught CIFS to a type INVOICE.

Is this possible ??
I can't see a rule to apply a custom type to all incoming objects.

Thanks in advice

Outcomes