You are here

Modules

An Alfresco Module is a collection of code, configuration, scripts and media resources, typically packaged as an AMP file, and which extends the functionality of Alfresco. They can implement custom templates, custom models, web scripts, UI customizations, or can be used to implement extensive additions to the Alfresco functionality. Records Management is an an example of a module that provides a significant enhancement to Alfresco's capabilities.

Modules can be thought of as installable extensions to Alfresco. Once packaged into an AMP file format they can be applied to Alfresco using the Module Management Tool (MMT). Alfresco has two directories that contain AMP files, the amps directory and the amps_share directory. Modules that extend the repository tier are located in the amps directory. Modules that extend the Share tier are located in the amps_share directory.

When a module is installed using the MMT it is applied to the relevant WAR file. The Alfresco application typically consists of at least two WAR files: alfresco.war and share.war. The module AMP file is applied to the appropriate WAR using the MMT. Larger, more complex modules may be distributed as two AMP files, one to be applied to the Alfresco WAR file and another to be applied to the Share WAR file. Records Management, for example, is distributed in this manner.