var padre = cm.cmobject.parent.properties[cm:description]Algo rebuscado no??
<?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>
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.