08-02-2013 11:22 AM
<?xml version="1.0" encoding="UTF-8"?>
<model name="delib:delibmodels" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Modèle HDSV3 Deliberations</description>
<author>NFT</author>
<version>1.0</version>
<!– model Type –>
<imports>
<!– Import Alfresco Dictionary Definitions –>
<import uri="http://www.alfresco.org/model/dictionary/1.0" prefix="d" />
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm" />
</imports>
<!– Namespace Déliberations –>
<namespaces>
<namespace uri="http://www.alfresco.org/deliberation/1.0" prefix="deliberation" />
<namespace uri="http://www.alfresco.org/delib/1.0" prefix="delib" />
<!–<namespace uri="pt.i.model" prefix="i"/> –>
</namespaces>
<types>
<type name="deliberation:document">
<title>Deliberation</title>
<parent>cm:content</parent>
<properties>
</properties>
<mandatory-aspects>
<aspect>delib:document</aspect>
</mandatory-aspects>
</type>
</types>
<aspects>
<aspect name="delib:document">
<title>Document</title>
<description>Document de déliberation</description>
<properties>
<property name="delib:origine">
<title>Origine</title>
<description>L'origine du document</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="delib:identifiant">
<title>Identifiant</title>
<description>L'identifiant du document</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="delib:typecommission">
<title>Type de commission</title>
<description>Le type de commission du document</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="delib:typedocument">
<title>Type de document</title>
<description>Le type de document (Annexe ou Rapport)</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
<property name="delib:dateseance">
<title>Date de la séance</title>
<description>La date de la séance de la délibération</description>
<type>d:date</type>
<mandatory>true</mandatory>
</property>
<property name="delib:theme">
<title>Thème</title>
<description>le thème de la délibération</description>
<type>d:text</type>
<mandatory>true</mandatory>
</property>
</properties>
</aspect>
</aspects>
</model>
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<!– Ajout de nouveaux modèles –>
<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
<property name="models">
<list>
<value>alfresco/extension/gedDelibModel.xml</value>
</list>
</property>
</bean>
</beans>
<!– Document Library config section –>
<config evaluator="string-compare" condition="DocumentLibrary" replace="true">
[…]
<aspects>
<!– Aspects that a user can see –>
<visible>
<aspect name="cm:generalclassifiable" />
<aspect name="cm:complianceable" />
<aspect name="cm:dublincore" />
<aspect name="cm:effectivity" />
<aspect name="cm:summarizable" />
<aspect name="cm:versionable" />
<aspect name="cm:templatable" />
<aspect name="cm:emailed" />
<aspect name="emailserver:aliasable" />
<aspect name="cm:taggable" />
<aspect name="app:inlineeditable" />
<aspect name="gd:googleEditable" />
<aspect name="cm:geographic" />
<aspect name="exif:exif" />
<aspect name="delib:document" />
</visible>
<!– Aspects that a user can add. Same as "visible" if left empty –>
<addable>
</addable>
<!– Aspects that a user can remove. Same as "visible" if left empty –>
<removeable>
</removeable>
</aspects>
<types>
<type name="cm:content">
<subtype name="deliberation:document"/>
</type>
<type name="cm:folder">
</type>
<type name="deliberation:document">
</type>
</types>
[…]
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="deliberation:document" />
</content-types>
</config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="delib:document"/>
</aspects>
</config>
</alfresco-config>
08-30-2013 04:56 AM
<config evaluator="aspect" condition="cm:storeSelector">
<forms>
<form>
<field-visibility>
<show id="cm:storeName"/>
</field-visibility>
</form>
</forms>
</config>
<!– cm:content type (existing nodes) –>
<config evaluator="node-type" condition="cm:content">
<forms>
<!– Default form configuration used on the document details and edit metadata pages –>
<form>
<field-visibility>
<show id="cm:storeName" />
</field-visibility>
</form>
<!– Document Library pop-up Edit Metadata form –>
<form id="doclib-simple-metadata">
<field-visibility>
<show id="cm:storeName" />
</field-visibility>
<edit-form template="../documentlibrary/forms/doclib-simple-metadata.ftl" />
</form>
<!– Document Library Inline Edit form –>
<form id="doclib-inline-edit">
<field-visibility>
<show id="cm:storeName" />
</field-visibility>
</form>
</forms>
</config>
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.