03-11-2008 09:07 AM
03-14-2008 08:26 AM
Si tu as des métadonnées communes à plusieurs types, tu peux définir ces métadonnées au sein d'un ou plusieurs aspects, puis référencer ses aspects en tant que mandatory-aspects, exemple :
03-14-2008 08:39 AM
04-02-2008 10:01 AM
<props>
<prop key="path">/</prop>
<!–prop key="location">alfresco/bootstrap/categories.xml</prop–>
<prop key="location">alfresco/extension/bootstrap/custom-categories.xml</prop>
</props>
04-02-2008 10:06 AM
04-02-2008 11:57 AM
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
<beans>
<bean id="spacesBootstrap" parent="spacesStoreImporter">
<property name="bootstrapViews">
<list>
<props>
<prop key="path">/</prop>
<prop key="location">alfresco/bootstrap/spaces.xml</prop>
<prop key="messages">alfresco/messages/bootstrap-spaces</prop>
</props>
<props>
<prop key="path">/</prop>
<prop key="location">alfresco/bootstrap/system.xml</prop>
</props>
<props>
<prop key="path">/</prop>
<!–prop key="location">alfresco/bootstrap/categories.xml</prop–>
<prop key="location">alfresco/extension/bootstrap/custom-categories.xml</prop>
</props>
<props>
<prop key="path">/</prop>
<prop key="location">alfresco/bootstrap/multilingualRoot.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.guest_home.childname}</prop>
<prop key="location">alfresco/bootstrap/tutorial.xml</prop>
<prop key="messages">alfresco/messages/bootstrap-tutorial</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.childname}</prop>
<prop key="location">alfresco/templates/software_engineering_project.xml</prop>
<prop key="messages">alfresco/messages/bootstrap-templates</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.content.childname}</prop>
<prop key="location">alfresco/templates/content_template_examples.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.content.childname}</prop>
<prop key="location">alfresco/templates/readme_template.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.email.childname}</prop>
<prop key="location">alfresco/templates/email_templates.acp</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.templates.rss.childname}</prop>
<prop key="location">alfresco/templates/rss_templates.acp</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}/${spaces.scripts.childname}</prop>
<prop key="location">alfresco/bootstrap/example_javascripts.acp</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/webScripts.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/webScriptsExtensions.xml</prop>
</props>
<props>
<prop key="path">/${spaces.company_home.childname}/${spaces.dictionary.childname}</prop>
<prop key="location">alfresco/bootstrap/webScriptsReadme.xml</prop>
</props>
</list>
</property>
</bean>
</beans>
<view:view xmlns:view="http://www.alfresco.org/view/repository/1.0"
xmlns:sys="http://www.alfresco.org/model/system/1.0"
xmlns:cm="http://www.alfresco.org/model/content/1.0">
<cm:category_root view:childName="cm:categoryRoot">
<view:acl>
<view:ace view:access="ALLOWED">
<view:authority>guest</view:authority>
<view:permission>Read</view:permission>
</view:ace>
</view:acl>
<cm:name>categories</cm:name>
<cm:categories>
<cm:category view:childName="cm:generalclassifiable">
<cm:name>General</cm:name>
<cm:subcategories>
<cm:category>
<cm:name>ADMINISTRATIF</cm:name>
</cm:category>
<cm:category>
<cm:name>Categorie 2</cm:name>
<cm:subcategories>
<cm:category>
<cm:name>Sous categorie A</cm:name>
</cm:category>
<cm:category>
<cm:name>Sous categorie B</cm:name>
</cm:category>
</cm:subcategories>
</cm:category>
</cm:subcategories>
</cm:category>
</cm:categories>
</cm:category_root>
</view:view>04-02-2008 12:01 PM
04-02-2008 12:14 PM
04-02-2008 12:21 PM
03-26-2009 06:14 AM
03-26-2009 06:41 AM
Effectivement, la création des catégories initiales que vous redéfinissez ne se fait qu'au premier démarrage (bootstrap).c'est trop tard!
Vous pouvez créer/supprimer/ manipuler des catégories via l'API JavaScript ( http://wiki.alfresco.com/wiki/JavaScript_API, http://wiki.alfresco.com/wiki/JavaScript_API#Classification_API)
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.