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.
<bean id="example.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/exampleModel.xml</value> </list> </property> </bean>
config evaluator="node-type" condition="lz:schuelerakte"
<model name="lz:lesezeichenmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0"> <description>Lese-Zeichen Model</description> <author></author> <version>1.0</version> <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> <namespaces> <!– Define a Namespace for my new definitions –> <namespace uri="lese-zeichen.model" prefix="lz"/> </namespaces> <!– Type and Aspect definitions go here –> <types> <type name="lz:schuelerakte"> <title>Schülerakte</title> <parent>cm:content</parent> <properties> <property name="lz:schuelerIdx"> <type>d:long</type> </property> <property name="lz:vorname"> <type>d:text</type> </property> <property name="lz:nachname"> <type>d:text</type> </property> <property name="lz:jugendamt"> <type>d:boolean</type> </property> <property name="lz:jaName"> <type>d:text</type> </property> </properties> </type> </types> <aspects> <aspect name="lz:test"> <title>Aspect-Test</title> <properties> <property name="lz:nr"> <type>d:int</type> </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> <!– Registration of new models –> <bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap"> <property name="models"> <list> <value>alfresco/extension/lesezeichenModel.xml</value> </list> </property> </bean> </beans>
<alfresco-config> <!– START Import Lese-Zeichen Erweiterungen –> <config evaluator="string-compare" condition="Content Wizards"> <content-types> <type name="lz:schuelerakte" /> </content-types> </config> <config evaluator="node-type" condition="lz:schuelerakte"> <property-sheet> <show-property name="lz:schuelerIdx" display-label="Schüler Idx" /> <show-property name="lz:vorname" display-label="Vorname"/> <show-association name="lz:nachname" display-label="Nachname"/> <show-property name="lz:jugendamt" display-label="Jugendamt"/> <show-property name="lz:jaName" display-label="JA-Name"/> </property-sheet> </config> <config evaluator="aspect-name" condition="lz:test"> <property-sheet> <show-property name="lz:nr"/> </property-sheet> </config> <config evaluator="aspect-name" condition="lz:test"> <property-sheet> <show-property name="lz:nr" /> </property-sheet> </config> <config evaluator="string-compare" condition="Action Wizards"> <aspects> <aspect name="lz:test"/> </aspects> </config> <config evaluator="string-compare" condition="Advanced Search"> <advanced-search> <content-types> <type name="lz:schuelerakte" /> </content-types> <custom-properties> <meta-data type="lz:schuelerakte" property="lz:schuelerIdx" /> <meta-data aspect="lz:test" property="lz:nr" /> </custom-properties> </advanced-search> </config> <!– ENDE Import Lese-Zeichen Erweiterungen –> </alfresco-config>
<alfresco-config> … <config evaluator="node-type" condition="lz:schuelerakte"> <forms> <form> <!– edit-form template="/fdk/templates/2-column-edit-form.ftl" /–> <field-visibility> <show id="lz:schuelerIdx"/> <show id="lz:vorname"/> <show id="lz:nachname"/> <show id="lz:jugendamt"/> <show id="lz:jaName"/> </field-visibility> <appearance> <field id="lz:schuelerIdx" label="Schüler Idx"/> <field id="lz:vorname" label="Vorname"/> <field id="lz:nachname" label="Nachname"/> <field id="lz:jugendamt" label="Jugendamt"/> <field id="lz:jaName" label="JA Name"/> </appearance> </form> </forms> </config> </alfresco-config>