05-23-2011 11:33 AM
<?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/customModel.xml</value>
</list>
</property>
</bean>
</beans>
<?xml version="1.0" encoding="UTF-8"?>
<!– Custom 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="custom:customModel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<!– Optional meta-data about the model –>
<description>Custom 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>
<!– 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="custom.model" prefix="custom"/>
</namespaces>
<types>
<type name="custom:contenido">
<title>Versionable Aspect</title>
<parent>cm:content</parent>
<mandatory-aspects>
<aspect>cm:versionable</aspect>
</mandatory-aspects>
</type>
</types>
</model>
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="custom:contenido" />
</content-types>
</config>
</alfresco-config>
05-24-2011 04:23 AM
<config evaluator="string-compare" condition="Action Wizards">
<specialise-types>
<type name="custom:contenido" />
</specialise-types>
</config>
05-24-2011 12:19 PM
<alfresco-config>
<config evaluator="string-compare" condition="Content Wizards" >
<!– The default content type - all content types must be subtypes of it –>
<default-content-type>
<type name="custom:contenido" />
</default-content-type>
<!– The list of custom content types to show in the content wizards –>
<content-types>
<type name="custom:contenido" />
</content-types>
</config>
07-08-2011 03:33 AM
Como se puede cambiar dentro del menú de añadir un nuevo contenido Add Content Dialog, General Properties el orden del desplegable Type (Article, Content, General Image, etc … que supongo que por defecto es por ordena alfabético)
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.