AnsweredAssumed Answered

Ephesoft metadata export

Question asked by juniorbl on Jan 12, 2012
Latest reply on Nov 23, 2012 by kikushima
Hello,

I'm trying to integrate Alfresco and Ephesoft and it's working, I'm able to export a document to Alfresco but the metadata from Ephesoft doesn't appear on the document inside Alfresco. I'm following this example http://tpeelen.wordpress.com/2010/12/23/configuring-ephesoft-and-alfresco-for-cmis-integration but I'm missing something. These are my configurations files:

ephesoftModel.xml
<?xml version="1.0" encoding="UTF-8"?>
<!– Custom Model –>
<!– Note: This model is pre-configured to load at startup of the Repository. So, all custom –>
<!–       types and aspects added here will automatically be registered –>

<model name="ephesoft:demomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">

<imports>
   <!– Import Alfresco Dictionary Definitions –>
   <import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
   <!– Import Alfresco Content Domain Model Definitions –>
   <import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>

<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
   <namespace uri="http://com.ephesoft.demo/model/content/1.0" prefix="ephesoft"/></namespaces>
   <constraints />
   <types>
      <type name="ephesoft:document">
         <title>ephesoft_scan</title>
         <parent>cm:content</parent>
         <properties>
            <property name="ephesoft:invoiceTotal">
               <title>Invoice Total</title>
               <type>d:int</type>
            </property>
         </properties>
      </type>
   </types>
</model>

And custom-model-context.xml:

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>

<!– Registration of new models –>
<beans>
   <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
      <property name="models">
         <list>
            <value>alfresco/extension/ephesoftModel.xml</value>
         </list>
      </property>
   </bean>
</beans>

Like I said, I can see the document but I cannot see the "invoiceTotal" metadata, is something wrong?

Thank you in advance.

Outcomes