10-23-2012 10:29 AM
10-23-2012 03:03 PM
10-24-2012 03:15 AM
<type name="dl:enlaces">
<title>Enlaces</title>
<parent>dl:dataListItem</parent>
<properties>
<property name="dl:enlacesNombre">
<title>Nombre</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="dl:enlacesFechaInicio">
<title>Fecha Inicio</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="dl:enlacesFechaFin">
<title>Fecha Fin</title>
<type>d:date</type>
<mandatory>false</mandatory>
</property>
<property name="dl:enlacesEnlaceFuente" >
<title>Enlace a fuente</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="dl:linkSectores" >
<title>Enlace</title>
<type>d:text</type>
<mandatory>false</mandatory>
</property>
<property name="dl:enlaceSectores">
<title>Sector</title>
<type>d:text</type>
<default>Energías renovables marinas</default>
<constraints>
<constraint ref="dl:enlacesSector" />
</constraints>
</property>
</properties>
<associations>
<association name="dl:enlacesPublicacion">
<title>Boletín publicación</title>
<source>
<mandatory>false</mandatory>
<many>true</many>
</source>
<target>
<class>cm:cmobject</class>
<mandatory>true</mandatory>
<many>true</many>
</target>
</association>
</associations>
<!– dl:contact type create form config–>
<config evaluator="model-type" condition="dl:enlaces">
<forms>
<!– Create item form –>
<form>
<field-visibility>
<!– dl:contact type –>
<show id="dl:enlacesNombre" />
<show id="dl:enlacesFechaInicio" />
<show id="dl:enlacesFechaFin" />
<show id="dl:linkSectores" />
<show id="dl:enlacesEnlaceFuente" />
<show id="dl:enlaceSectores" />
<show id="dl:enlacesPublicacion" />
<show id="dl:enlacesPublicado" />
</field-visibility>
<create-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="dl:contactNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
<config evaluator="node-type" condition="dl:enlaces">
<forms>
<!– Create item form –>
<form>
<field-visibility>
<!– dl:contact type –>
<show id="dl:enlacesNombre" />
<show id="dl:enlacesFechaInicio" />
<show id="dl:enlacesFechaFin" />
<show id="dl:linkSectores" />
<show id="dl:enlacesEnlaceFuente" />
<show id="dl:enlaceSectores" />
<show id="dl:enlacesPublicacion" />
</field-visibility>
<create-form template="../data-lists/forms/dataitem.ftl" />
<appearance>
<field id="dl:contactNotes">
<control template="/org/alfresco/components/form/controls/textarea.ftl" />
</field>
</appearance>
</form>
</forms>
</config>
#Enlaces
dl_datalistmodel.property.dl_enlacesNombre.title=Nombre
dl_datalistmodel.property.dl_enlacesFechaInicio.title=Fecha de Inicio
dl_datalistmodel.property.dl_enlacesFechaFin.title=Fecha de Fin
dl_datalistmodel.property.dl_linkSectores.title=Enlace
dl_datalistmodel.property.dl_enlacesEnlaceFuente.title=Fuente
dl_datalistmodel.property.dl_enlaceSectores.title=Sector
10-24-2012 04:40 AM
<property name="dl:enlacesPublicado" >
<title>Publicado</title>
<type>d:boolean</type>
<mandatory>false</mandatory>
</property>
<field id="dl:enlacesPublicado">
<control template="/org/alfresco/components/form/controls/checkbox.ftl" />
</field>
11-10-2012 05:00 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.