Deployment - App Server:
- Content Model Definition: tomcat/shared/classes/alfresco/extension/myContentModel.xml (File name can be anything you like as long as you refer to it in the Spring context file)
- Content Model Bootstrap: tomcat/shared/classes/alfresco/extension/my-content-model-context.xml (File name has to end in -context.xml to be picked up as Spring Bean context file)
- Share UI configuration: tomcat/shared/classes/alfresco/web-extension/share-config-custom.xml
These file locations are untouched by re-deployments and upgrades.
Deployment All-in-One SDK Project:
- Content Model Definition: aio/platform-jar/src/main/resources/alfresco/module/platform-jar/model/content-model.xml
- Content Model Localization: aio/platform-jar/src/main/resources/alfresco/module/platform-jar/messages/content-model.properties
- Content Model & Localization Deployment (Bootstrap): aio/platform-jar/src/main/resources/alfresco/module/platform-jar/context/bootstrap-context.xml
- Share UI Configuration: aio/share-jar/src/main/resources/META-INF/share-config-custom.xml
- Share UI Localization: aio/share-jar/src/main/resources/alfresco/web-extension/messages/share-jar.properties
- Share UI Localization Deployment (Bootstrap): aio/share-jar/src/main/resources/alfresco/web-extension/share-jar-slingshot-application-context.xml
Note: To implement and deploy a content model with full UI support you need
both a repository JAR and a Share JAR project.