<type name="custom:fatturaVendita">
<title>Fattura di Vendita</title>
<description/>
<parent>cm:content</parent>
<properties>
<property name="custom:nDocVendita">
<title>N. Documento</title>
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<tokenised>false</tokenised>
</index>
</property>
<property name="custom:dataDocVendita">
<title>Data Documento</title>
<type>d:date</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<stored>false</stored>
<tokenised>both</tokenised>
</index>
</property>
<property name="custom:ordineVendita">
<title>Ordine di Vendita</title>
<type>d:text</type>
<default/>
<index enabled="true">
<atomic>true</atomic>
<tokenised>false</tokenised>
</index>
</property>
<property name="custom:intrastatVendita">
<title>Intrastat</title>
<type>d:boolean</type>
<default>false</default>
</property>
<property name="custom:ragoSocVendita">
<title>Ragione Sociale</title>
<type>d:text</type>
<mandatory>true</mandatory>
<index enabled="true">
<atomic>true</atomic>
<tokenised>false</tokenised>
</index>
</property>
<property name="custom:contabilizzaVendita">
<title>Stato</title>
<type>d:text</type>
<mandatory>true</mandatory>
<default>DA CONTABILIZZARE</default>
<index enabled="true">
<atomic>true</atomic>
<tokenised>false</tokenised>
</index>
<constraints>
<constraint ref="custom:contabilizza"/>
</constraints>
</property>
</properties>
</type>
<config evaluator="node-type" condition="custom:fatturaVendita">
<property-sheet>
<show-property name="mimetype" display-label-id="content_type" component-generator="MimeTypeSelectorGenerator"/>
<show-property name="size" display-label-id="size" converter="org.alfresco.faces.ByteSizeConverter" show-in-edit-mode="false"/>
<show-property name="custom:nDocVendita"/>
<show-property name="custom:dataDocVendita"/>
<show-property name="custom:ordineVendita"/>
<show-property name="custom:intrastatVendita"/>
<show-property name="custom:ragoSocVendita"/>
<show-property name="custom:contabilizzaVendita"/>
</property-sheet>
</config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom:fatturaVendita"/>
</content-types>
</config>
<config evaluator="string-compare" condition="Advanced Search">
<advanced-search>
<content-types>
<type name="custom:fatturaVendita"/>
</content-types>
<custom-properties>
<!–custom:fatturaVendita–>
<meta-data type="custom:fatturaVendita" property="custom:nDocVendita"/>
<meta-data type="custom:fatturaVendita" property="custom:dataDocVendita"/>
<meta-data type="custom:fatturaVendita" property="custom:ordineVendita"/>
<meta-data type="custom:fatturaVendita" property="custom:intrastatVendita"/>
<meta-data type="custom:fatturaVendita" property="custom:ragoSocVendita"/>
<meta-data type="custom:fatturaVendita" property="custom:contabilizzaVendita"/>
</custom-properties>
</advanced-search>
</config>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
<tree>
<!–
Whether the folder Tree component should enumerate child folders or not.
This is a relatively expensive operation, so should be set to "false" for Repositories with broad folder structures.
–>
<evaluate-child-folders>false</evaluate-child-folders>
<!–
Optionally limit the number of folders shown in treeview throughout Share.
–>
<maximum-folder-count>-1</maximum-folder-count>
</tree>
<types>
<type name="cm:content">
<subtype name="custom:fatturaVendita"/>
</type>
</types>
</config>
<config evaluator="node-type" condition="custom:fatturaVendita">
<forms>
<form>
<field-visibility>
<show id="cm:name"/>
<show id="cm:title" force="true"/>
<show id="cm:description" force="true"/>
<show id="cm:taggable" for-mode="edit" force="true"/>
<show id="custom:nDocVendita"/>
<show id="custom:dataDocVendita"/>
<show id="custom:ordineVendita"/>
<show id="custom:intrastatVendita"/>
<show id="custom:ragoSocVendita"/>
<show id="custom:contabilizzaVendita"/>
</field-visibility>
<appearance>
<field id="cm:taggable">
<control>
<control-param name="compactMode">true</control-param>
<control-param name="params">aspect=cm:taggable</control-param>
<control-param name="createNewItemUri">/api/tag/workspace/SpacesStore</control-param>
<control-param name="createNewItemIcon">tag</control-param>
</control>
</field>
</appearance>
</form>
</forms>
</config>
<config replace="true" evaluator="string-compare" condition="AdvancedSearch">
<advanced-search>
<!– Forms for the advanced search type list –>
<forms>
<!–
The 'form' config element contains the name of the model type
of the form to display.
The element supports the following optional attributes:
id = form id, the id of "search" will be assumed if not set
label = label text to display - defaults to model type if not set
labelId = I18N message id of label text to display
description = description text to display
descriptionId = I18N message id of description text to display
–>
<form labelId="search.form.label.cm_content" descriptionId="search.form.desc.cm_content">cm:content</form>
<form label="Fatture di Vendita" description="Fatture di Vendita">custom:fatturaVendita</form>
</forms>
</advanced-search>
</config>
<config evaluator="model-type" condition="cm:content">
<forms>
<form id="search">
<field-visibility>
<show id="cm:name"/>
<show id="cm:title" force="true"/>
<show id="cm:description" force="true"/>
<show id="shc:type" force="true"/>
<show id="shc:owner" force="true"/>
<show id="shc:dateAdopted" force="true"/>
<show id="shc:reviewDate" force="true"/>
</field-visibility>
</form>
</forms>
</config>
<config evaluator="model-type" condition="custom:fatturaVendita">
<forms>
<!– Search form –>
<form id="search">
<field-visibility>
<show id="cm:name"/>
<show id="custom:nDocVendita"/>
<show id="custom:dataDocVendita"/>
<show id="custom:ordineVendita"/>
<show id="custom:intrastatVendita"/>
<show id="custom:ragoSocVendita"/>
<show id="custom:contabilizzaVendita" force="true"/>
</field-visibility>
<appearance>
<field id="custom:dataDocVendita">
<control template="/org/alfresco/components/form/controls/daterange.ftl"/>
</field>
</appearance>
</form>
</forms>
</config>
<index>
del tuo custom type perchè eliminandoli la ricerca avanzata è tornata a funzionare.Archive content from product discussions in Italian.
This group is now closed and 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.