01-12-2012 05:20 PM
<?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>
<?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>
01-16-2012 12:07 PM
Invoice=D:ephesoft:document
Invoice.InvoiceTotal=ephesoft:invoiceTotal
01-18-2012 09:37 AM
Application-Checklist=D:ephesoft:document
Application-Checklist.InvoiceTotal=ephesoft:invoiceTotal
Application-Checklist.State=ephesoft:state
Application-Checklist.City=ephesoft:city
Workers-Comp-02=D:ephesoft:document
Workers-Comp-02.InvoiceTotal=ephesoft:invoiceTotal
Workers-Comp-02.State=ephesoft:state
Workers-Comp-02.City=ephesoft:city
US-invoice-Data=D:ephesoft:document
US-invoice-Data.InvoiceTotal=ephesoft:invoiceTotal
US-invoice-Data.State=ephesoft:state
US-invoice-Data.City=ephesoft:city
Invoice=D:ephesoft:document
Invoice.InvoiceTotal=ephesoft:invoiceTotal
01-23-2012 10:04 AM
01-24-2012 05:44 AM
01-24-2012 10:37 AM
02-13-2012 10:18 AM
Hello,
My problem was a lower case "i", in the mapping file was "US-invoice-Data" and in "Document Types" was "US-Invoice-Data", is just a matter of change one of them.
Hope this helps.
02-13-2012 02:18 PM
11-22-2012 11:35 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.