AnsweredAssumed Answered

Enhancing alfresco content model for a specific domain

Question asked by tarunkar on Mar 9, 2006
Latest reply on Mar 16, 2006 by derek
Hi,

what is the best possible strategy for adding new content models, aspets and mime types to alfresco ?

As of now, in order to achieve this,  We have modified alfresco's config files like application-context.xml

e.g. Consider addition of new mime types, 

It has been done by modifying application-context.xml file,
following is the modified bean definition of repoConfigService,
    <bean id="repoConfigService" class="org.alfresco.config.xml.XMLConfigService" init-method="init">
        <constructor-arg>
            <bean class="org.alfresco.config.source.ClassPathConfigSource">
                <constructor-arg>
                    <list>
                        <value>alfresco/mimetype-map.xml</value>
                        <value>WEB-INF/domainspecific-mimetype-map.xml</value>
                    </list>
                </constructor-arg>
            </bean>
        </constructor-arg>
    </bean>

here under list element, a new value element
<value>WEB-INF/domainspecific-mimetype-map.xml</value>
has been added.

Pls. suggest whether  it is the right strategy to modify alfresco configuration files for enhanced functionality ?

Are there any hooks provided by alfresco to achieve above mentioned things ?

Thakns in advance.

Outcomes