02-23-2011 10:37 PM
02-24-2011 03:46 AM
02-24-2011 08:52 AM
02-24-2011 10:02 AM
02-24-2011 12:03 PM
02-24-2011 12:32 PM
var padre = cm.cmobject.parent.properties[cm:description]Algo rebuscado no??
02-24-2011 03:27 PM
02-24-2011 05:47 PM
02-24-2011 09:21 PM
<?xml version="1.0" encoding="UTF-8"?>
<!– definicion del modelo de pch –>
<model name="pch:cms" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>pch cms base model</description>
<author>Mspier</author>
<version>1.0</version>
<!– Imports are required to allow references to definitions in other models –>
<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 –>
<namespaces>
<namespace uri="pch.model" prefix="pch"/>
</namespaces>
<types>
<type name="pch:cmobject">
<title>creditos hipotecarios</title>
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>pch:metadatos</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<!– aspecto para c hipotecarios –>
<aspect name="pch:metadatos">
<title>pch metadatos</title>
<properties>
<property name="pch:documentRut">
<type>d:text</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
<property name="pch:documentNombre">
<type>d:text</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
<property name="pch:documentNmutuo">
<type>d:double</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
<property name="pch:documentFescritura">
<type>d:date</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
<property name="pch:documentConvenio">
<type>d:text</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
<property name="pch:documentComuna">
<type>d:text</type>
<index enabled="true">
<atomic>false</atomic>
<stored>false</stored>
<tokenised>false</tokenised>
</index>
</property>
</properties>
</aspect>
</aspects>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/pchModel.xml</value>
</list>
</property>
</bean>
<bean id="extension.resourceBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.messages.pch</value>
</list>
</property>
</bean>
</beans>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Registration of new models –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/pchModel.xml</value>
</list>
</property>
</bean>
<bean id="extension.resourceBundle" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
<property name="resourceBundles">
<list>
<value>alfresco.messages.pch</value>
</list>
</property>
</bean>
</beans>
02-25-2011 06:08 AM
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.