AnsweredAssumed Answered

CIFS and Metadata Extraction ?

Question asked by vivi on May 15, 2008
Latest reply on May 29, 2008 by cleseach

I have a problem with CIFS and the metadata extraction.

I have defined a personal type with the following aspect:
release date, Number of the document, Issue, Source.

Below are the configuration files:

<?xml version='1.0' encoding='UTF-8'?>

    <!– Registration of new models –>
    <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">


<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="perso:persomodel" xmlns="">

   <!– Optional meta-data about the model –>
   <description>Perso Model</description>

   <!– Imports are required to allow references to definitions in other models –>
      <!– Import Alfresco Dictionary Definitions –>
      <import uri="" prefix="d" />
      <!– Import Alfresco Content Domain Model Definitions –>
      <import uri="" prefix="cm" />

   <!– Introduction of new namespaces defined by this model –>
      <namespace uri="" prefix="perso" />

      <!– Enterprise-wide generic document type –>
      <type name="perso:doc">
      <title>Perso Document</title>
        <property name="perso:releasedDate">
        <property name="perso:docNum">
        <property name="perso:issue">
        <property name="perso:source">
        <!–<property name="perso:confidential">
        <association name="perso:appDocument">
          <title>Applicable Document</title>
        <association name="perso:refDocument">
          <title>Reference Document</title>




     <!– Example of adding languages to the list in the login page –>
   <config evaluator="string-compare" condition="Languages">
         <language locale="de_DE">German</language>
         <language locale="es_ES">Spanish</language>
         <language locale="fr_FR">French</language>
         <language locale="it_IT">Italian</language>

  <!– Modify the view  available in the web client –>
  <config evaluator="string-compare" condition="Views">
    <!– the views available in the client –>
      <!– default values for the views available in the client –>
         <!– allowable values: list|details|icons –>

  <!– Add type properties to property sheet –>
  <config evaluator="node-type" condition="perso:doc">
      <show-property name="perso:releasedDate" display-label-id="releasedDate" />
      <show-property name="perso:docNum" display-label-id="docNum" />
      <show-property name="perso:issue" display-label-id="issue" />
      <show-property name="perso:source" display-label-id="source" />
  <!– Add types to add content list –>
  <config evaluator="string-compare" condition="Content Wizards">
      <type name="perso:doc" />

  <config evaluator="string-compare" condition="Action Wizards">
    <!– The list of types shown in the is-subtype condition –>
      <type name="perso:doc" />
    <!– The list of content and/or folder types shown in the specialise-type action –>
      <type name="perso:doc" />
  <!– Add Advanced Search –>
  <config evaluator="string-compare" condition="Advanced Search">
        <type name="perso:doc" />
        <meta-data type="perso:doc" property="perso:releasedDate" display-label-id="releasedDate"/>
        <meta-data type="perso:doc" property="perso:docNum" display-label-id="docNum"/>
        <meta-data type="perso:doc" property="perso:source" display-label-id="source"/>
        <meta-data type="perso:doc" property="perso:confidential" display-label-id="confidential"/>

releasedDate=Released Date
docNum=Document N

1. No rules were defined. When I put a new file (MSword by example) into Alfresco:
- using the web browser, the type by default is "content" (the default type defined in Alfresco). All metadata (Name, Title, Author) are automaticaly filled in.
- using CIFS (drag and drop), the title and author are not automaticaly filled…

2. Then, if I apply a rule to the document to specialize it with my personal type, when the document was introduice in Alfresco with:
- the web browser, the "content" metadata and the one predefinie by my personal type appear.
- the CIFS, I only get the aspect I have defined in my personal tpe but not the one from the content type…

If I use a rule which specialises the type of each new document with my personal type, I get the same as 2.

My questions are:
Why metadata such as Title and Author are not automatically filled when using the CIFS?
Why, when I apply the same rule to the same file but introduice in Alfresco eather by CIFS or the web browser, the result is different?

How can I solve this problem?

Thanks a lot!