You are here

Custom Share-Config-Custom.xml Files in Jars

Dan Tuffery's picture
Dan Tuffery


If you’re customising Share and modularising your customisations using multiple Jars, you will need to place your 'share-conifg-custom.xml' file in the META-INF folder not the 'alfresco/web-extension' folder, otherwise it will not be found.

A constructor argument in the 'webframework.configsource' bean in Share’s 'slingshot-application-context.xml' file defines the path:

<bean id="webframework.configsource" class="org.springframework.extensions.config.source.UrlConfigSource">
             <!-- Share custom config -->

Add new comment