10-12-2011 07:09 AM
10-12-2011 10:12 AM
10-12-2011 11:00 AM
<?xml version="1.0" encoding="UTF-8"?>
<model name="dynamic:modelliPersonalizzati" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Custom Content Type</description>
<author>Ing. Girelli</author>
<version>1.1</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="dynamic.model" prefix="dynamic"/>
</namespaces>
<types>
<type name="dynamic:praticaLegale">
<title>Pratica Legale</title>
<parent>cm:content</parent>
<properties>
<property name="dynamic:sentenza">
<title>Sentenza</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="dynamic:annoSentenza">
<title>Anno Sentenza</title>
<type>d:int</type>
</property>
<property name="dynamic:giudice">
<title>Giudice</title>
<type>d:text</type>
</property>
<property name="dynamic:attore">
<title>Attore</title>
<type>d:text</type>
</property>
<property name="dynamic:avvocato">
<title>Avvocato</title>
<type>d:text</type>
</property>
<property name="dynamic:annoRg">
<title>Anno RG</title>
<type>d:int</type>
</property>
<property name="dynamic:numeroRg">
<title>Numero RG</title>
<type>d:int</type>
</property>
</properties>
</type>
<type name="dynamic:fascicolo">
<title>Fascicolo</title>
<parent>cm:content</parent>
<properties>
<property name="dynamic:numMod21">
<title>Numero Modello 21</title>
<type>d:int</type>
</property>
<property name="dynamic:annoMod21">
<title>Anno Modello 21</title>
<type>d:int</type>
</property>
<property name="dynamic:numRegDib">
<title>Numero Registro dibattimento</title>
<type>d:int</type>
</property>
<property name="dynamic:annoRegDib">
<title>Anno Registro dibattimento</title>
<type>d:int</type>
</property>
<property name="dynamic:numRegGen">
<title>Numero Registro Generale</title>
<type>d:int</type>
</property>
<property name="dynamic:annoRegGen">
<title>Anno Registro Generale</title>
<type>d:int</type>
</property>
<property name="dynamic:imputato">
<title>Imputato</title>
<type>d:text</type>
</property>
<property name="dynamic:reatiContestati">
<title>Reati contestati</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
<property name="dynamic:difficolta">
<title>Difficoltà</title>
<type>d:int</type>
</property>
<property name="dynamic:dataRivio">
<title>Data Rinvio</title>
<type>d:date</type>
</property>
<property name="dynamic:attivita">
<title>Attività</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
<property name="dynamic:materia">
<title>Materia</title>
<type>d:text</type>
</property>
<property name="dynamic:provvedimento">
<title>Provvedimento</title>
<type>d:text</type>
<multiple>true</multiple>
</property>
<property name="dynamic:deciso">
<title>Deciso il</title>
<type>d:date</type>
</property>
<property name="dynamic:termineDeposito">
<title>Termine deposito</title>
<type>d:int</type>
</property>
<property name="dynamic:scadenzaDeposito">
<title>Scadenza deposito</title>
<type>d:date</type>
</property>
<property name="dynamic:dataDeposito">
<title>Data daposito</title>
<type>d:date</type>
</property>
<property name="dynamic:giorniRitardo">
<title>Giorni Ritardo</title>
<type>d:int</type>
</property>
</properties>
</type>
</types>
</model>
web-client-config-custom.xml<?xml version="1.0" encoding="UTF-8"?>
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="dynamic:praticaLegale" />
<type name="dynamic:fascicolo" />
</content-types>
</config>
<config evaluator="node-type" condition="dynamic:praticaLegale">
<property-sheet>
<show-property name="mimetype" display-label-id="content_type" component-generator="MimeTypeSelectorGenerator"/>
<show-property name="dynamic:sentenza" />
<show-property name="dynamic:annoSentenza" />
<show-property name="dynamic:giudice" />
<show-property name="dynamic:attore" />
<show-property name="dynamic:avvocato" />
<show-property name="dynamic:annoRg" />
<show-property name="dynamic:numeroRg" />
</property-sheet>
</config>
<config evaluator="node-type" condition="dynamic:fascicolo">
<property-sheet>
<show-property name="mimetype" display-label-id="content_type" component-generator="MimeTypeSelectorGenerator"/>
<show-property name="dynamic:numMod21" />
<show-property name="dynamic:annoMod21" />
<show-property name="dynamic:numRegDib" />
<show-property name="dynamic:annoRegDib" />
<show-property name="dynamic:numRegGen" />
<show-property name="dynamic:annoRegGen" />
<show-property name="dynamic:imputato" />
<show-property name="dynamic:reatiContestati" />
<show-property name="dynamic:difficolta" />
<show-property name="dynamic:dataRivio" />
<show-property name="dynamic:attivita" />
<show-property name="dynamic:materia" />
<show-property name="dynamic:provvedimento" />
<show-property name="dynamic:deciso" />
<show-property name="dynamic:termineDeposito" />
<show-property name="dynamic:scadenzaDeposito" />
<show-property name="dynamic:dataDeposito" />
<show-property name="dynamic:giorniRitardo" />
</property-sheet>
</config>
<!– Lists the custom content type in business rules Action wizard –>
<config evaluator="string-compare" condition="Action Wizards">
<subtypes>
<type name="dynamic:praticaLegale"/>
</subtypes>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="dynamic:praticaLegale" />
</content-types>
<custom-properties>
<meta-data type="dynamic:praticaLegale" property="dynamic:sentenza" />
<meta-data type="dynamic:praticaLegale" property="dynamic:annoSentenza" />
<meta-data type="dynamic:praticaLegale" property="dynamic:giudice" />
<meta-data type="dynamic:praticaLegale" property="dynamic:attore" />
<meta-data type="dynamic:praticaLegale" property="dynamic:avvocato" />
<meta-data type="dynamic:praticaLegale" property="dynamic:annoRg" />
<meta-data type="dynamic:praticaLegale" property="dynamic:numeroRg" />
</custom-properties>
</advanced-search>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="dynamic:fascicolo" />
</content-types>
<custom-properties>
<meta-data type="dynamic:fascicolo" property="dynamic:numMod21" />
<meta-data type="dynamic:fascicolo" property="dynamic:annoMod21" />
<meta-data type="dynamic:fascicolo" property="dynamic:numRegDib" />
<meta-data type="dynamic:fascicolo" property="dynamic:annoRegDib" />
<meta-data type="dynamic:fascicolo" property="dynamic:numRegGen" />
<meta-data type="dynamic:fascicolo" property="dynamic:annoRegGen" />
<meta-data type="dynamic:fascicolo" property="dynamic:imputato" />
<meta-data type="dynamic:fascicolo" property="dynamic:reatiContestati" />
<meta-data type="dynamic:fascicolo" property="dynamic:difficolta" />
<meta-data type="dynamic:fascicolo" property="dynamic:dataRivio" />
<meta-data type="dynamic:fascicolo" property="dynamic:attivita" />
<meta-data type="dynamic:fascicolo" property="dynamic:materia" />
<meta-data type="dynamic:fascicolo" property="dynamic:provvedimento" />
<meta-data type="dynamic:fascicolo" property="dynamic:deciso" />
<meta-data type="dynamic:fascicolo" property="dynamic:termineDeposito" />
<meta-data type="dynamic:fascicolo" property="dynamic:scadenzaDeposito" />
<meta-data type="dynamic:fascicolo" property="dynamic:dataDeposito" />
<meta-data type="dynamic:fascicolo" property="dynamic:giorniRitardo" />
</custom-properties>
</advanced-search>
</config>
</alfresco-config>
10-17-2011 12:54 PM
10-25-2011 06:37 AM
01-07-2014 07:04 AM
01-07-2014 09:50 AM
01-07-2014 11:48 AM
01-08-2014 04:25 AM
01-08-2014 07:28 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.