<?xml version="1.0" encoding="UTF-8"?>
<model name="demo:demomodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Demo Model</description>
<author>Rubenlor/author>
<version>1.3</version>
<imports>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d"/>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
</imports>
<namespaces>
<namespace uri="http://www.alfresco.com/content/1.0" prefix="demo"/>
</namespaces>
<types>
<type name="demo:demomodel">
<title>demo model</title>
<parent>cm:content</parent>
<properties>
<property name="demo:tipodocumento">
<title>Tipo de Documento</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="demo:fechadocumento">
<title>Fecha del documento</title>
<type>d:date</type>
</property>
<property name="demo:contenido">
<title>Contenido</title>
<type>d:text</type>
</property>
</properties>
<mandatory-aspects>
<aspect>cm:versionable</aspect>
</mandatory-aspects>
</type>
<#list document.versionHistory as record>
<#if record.properties["demo:tipodocumento"]?exists>
${record.properties["demo:tipodocumento"]}
</#if>
<#if record.properties["demo:fechadocumento"]?exists>
${record.properties["demo:fechadocumento"]}
</#if>
<#if record.properties["demo:contenido"]?exists>
${record.properties["demo:contenido"]}
</#if>
</#list>
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.