11-15-2007 01:00 PM
<?xml version="1.0" encoding="UTF-8"?>
<!– Definition of new Model –>
<model name="bg:blogmodel" xmlns="http://www.alfresco.org/model/dictionary/1.0">
<description>Blog Model</description>
<author>Dooley</author>
<version>1.0</version>
<imports>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/content/1.0" prefix="cm"/>
<!– Import Alfresco Content Domain Model Definitions –>
<import uri="http://www.alfresco.org/model/forum/1.0" prefix="fm"/>
</imports>
<namespaces>
<namespace uri="http://wwww.tsgrp.com/model/blog/1.0" prefix="bg"/>
</namespaces>
<types>
<type name="bg:blogs">
<title>Blog Space</title>
<parent>fm:forum</parent>
</type>
<type name="bg:blog">
<title>Blog</title>
<parent>fm:topic</parent>
<mandatory-aspects>
<aspect>fm:discussable</aspect>
</mandatory-aspects>
</type>
<type name="bg:blogpost">
<title>Blog Post</title>
<parent>fm:post</parent>
</type>
</types>
</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/blog-model.xml</value>
</list>
</property>
</bean>
</beans>
<!– add blog types to teh add content list –>
<config evaluator="string-compare" condition="Content Wizards">
<content-types>
<type name="bg:blogpost" />
</content-types>
</config>
11-16-2007 04:48 AM
11-29-2007 08:03 AM
01-02-2008 11:14 AM
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.