05-22-2015 04:39 AM
<type name="abc:personaleDocumentazioneVaria">
<title>Personale - Documentazione Varia</title>
<parent>cm:content</parent>
<properties>
<property name="abc:personaleDVCodiceFiscale">
<title>Codice fiscale</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint ref="abc:codicefiscale16_constraint" />
</constraints>
</property>
…
<property name="abc:personaleDVMatricola">
<title>Matricola</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="abc:personaleDVCognome">
<title>Cognome</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="abc:personaleDVNome">
<title>Nome</title>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="abc:personaleDVDataDocumento">
<title>Data documento</title>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="abc:personaleDVTiopDocumento">
<title>Tipo documento</title>
<type>d:text</type>
<mandatory>true</mandatory>
<constraints>
<constraint type="LIST">
<parameter name="allowedValues">
<list>
<value>Contratti ed incarichi</value>
<value>Disposizioni di servizio</value>
<value>Documentazione assunzione</value>
<value>Documentazione contabile</value>
<value>Documentazione personale riservata</value>
<value>Documentazione previdenziale</value>
<value>Titoli e formazione</value>
<value>Varie</value>
</list>
</parameter>
<parameter name="caseSensitive">
<value>true</value>
</parameter>
</constraint>
</constraints>
</property>
</properties>
</type>
<config evaluator="model-type" condition="abc:personaleDocumentazioneVaria">
<forms>
<form id="search">
<field-visibility>
<show id="abc:personaleDVCodiceFiscale" />
<show id="abc:personaleDVMatricola" />
<show id="abc:personaleDVCognome" />
<show id="abc:personaleDVNome" />
<show id="abc:personaleDVDataDocumento" />
<show id="abc:personaleDVTiopDocumento" />
</field-visibility>
<appearance>
<field id="abc:personaleDVDataDocumento">
<control template="/org/alfresco/components/form/controls/daterange.ftl" />
</field>
<field id="abc:personaleDVTiopDocumento">
<control template="/org/alfresco/components/form/controls/selectmany.ftl" >
<control-param name="size">8</control-param>
<control-param name="mode">OR</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
((TYPE:"abc:personaleDocumentazioneVaria" AND (abc:personaleDVNome:"Giuliano")) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"
((TYPE:"abc:personaleDocumentazioneVaria" AND (abc:personaleDVTiopDocumento:"Varie" AND abc:personaleDVNome:"Giuliano")) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"
((TYPE:"abc:personaleDocumentazioneVaria" AND (((abc:personaleDVTiopDocumento:"Titoli e formazione") OR (abc:personaleDVTiopDocumento:"Varie"))abc:personaleDVNome:"Giuliano")) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"
((TYPE:"abc:personaleDocumentazioneVaria" AND (((abc:personaleDVTiopDocumento:"Titoli e formazione") OR (abc:personaleDVTiopDocumento:"Varie")) AND abc:personaleDVNome:"Giuliano")) AND -TYPE:"cm:thumbnail" AND -TYPE:"cm:failedThumbnail" AND -TYPE:"cm:rating") AND NOT ASPECT:"sys:hidden"
05-25-2015 09:42 AM
05-25-2015 01:54 PM
05-26-2015 05:33 AM
first = false;
else if (isMultiValueProperty(propValue, modePropValue))
{
formQuery += (first ? '(' : ' AND (');
formQuery += processMultiValue(propName, propValue, modePropValue, false);
formQuery += ')';
}
06-08-2015 02:08 PM
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.