Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmlewis/228b819875865e0e96ee to your computer and use it in GitHub Desktop.
Save cmlewis/228b819875865e0e96ee to your computer and use it in GitHub Desktop.
When deploying multiple AMPs/modules in Alfresco, content models may have dependencies on content models in other modules. Set up the proper dependencies using the dictionary bootstrap and 'depends-on' in your module-context.xml.
<!-- Models -->
<bean id="com.someco.wcm.dictionaryModelBootstrap"
parent="dictionaryModelBootstrap"
depends-on="dictionaryBootstrap,com.someco.autonumber.dictionaryModelBootstrap">
<property name="models">
<list>
<value>alfresco/extension/model/somecoWcmModel.xml</value>
</list>
</property>
</bean>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment