<?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/kloeModel.xml</value>
</list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<!– KLOE Model –>
<!– Note: This model is pre-configured to load at startup of the Repository. So, all custom –>
<!– types and aspects added here will automatically be registered –>
<model name="kloe:kloeModel" xmlns="http://www.alfresco.org/model/dictionary/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.alfresco.org/model/dictionary/1.0 D:\installs\Alfresco\ENTREP~1.0\Deploiement\WEB-INF\classes\alfresco\model\modelSchema.xsd">
<!– Optional meta-data about the model –>
<description>Kloe Model</description>
<author>S. GUILLOMON</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>
<!– Introduction of new namespaces defined by this model –>
<!– NOTE: The following namespace custom.model should be changed to reflect your own namespace –>
<namespaces>
<namespace uri="kloe.model" prefix="kloe"/>
</namespaces>
<aspects>
<aspect name="kloe:news">
<title>News KLOE</title>
<properties>
<property name="kloe:title">
<title>News title</title>
<type>d:text</type>
</property>
<property name="kloe:date">
<title>News date</title>
<type>d:date</type>
</property>
<property name="kloe:description">
<title>News description</title>
<type>d:text</type>
</property>
<property name="kloe:published">
<title>Is news published</title>
<type>d:boolean</type>
</property>
</properties>
</aspect>
</aspects>
</model>
<alfresco-config>
<config evaluator="string-compare" condition="Action Wizards">
<aspects>
<aspect name="kloe:news"/>
</aspects>
</config>
<config evaluator="aspect-name" condition="kloe:news">
<property-sheet>
<show-property name="kloe:title"/>
<show-property name="kloe:date"/>
<show-property name="kloe:description"/>
<show-property name="kloe:published"/>
</property-sheet>
</config>
</alfresco-config>
Content from pre 2016 and from language groups that have been closed.
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.