As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
<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
<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>