The JavaScript root object collection provides a ready made set of objects you can access from your web scripts.
If written in JavaScript and FreeMarker it is possible to write new extensions that do not require a server restart to take effect. Java can also be used to implement a web script if the business logic requires it. A web script is implemented in XML, JavaScript, and FreeMarker. Web scripts provide the ability to create custom REST APIs. Actions provide a place to locate reusable business logic.
You develop actions using Java and register them with the repository through a Spring configuration file. It can be for example a to-do list or an event list.Īctions are Spring beans that act upon a content node. This is metadata that does not necessarily have any file content associated with it. It is used to create a domain specific model that can be used to classify content and refine the search capabilities.ĭata lists are a useful feature available in sites. The following table lists platform extension points, also referred to as Repository extension points, and links toĬontent modeling provides a foundation for structuring and working with content. The recommended way of developing platform extensions. To fully understand the extension points it is a good idea to first read through theĪlso, you should get familiar with the Alfresco SDK as it is Use existing services, or write new Platform services, create custom ReST APIs, create new rating systems and so on.Įach of these extension points is described in this section, with links to additional resources suchĪs APIs (in Java, JavaScript and FreeMarker, for example), tutorials, and reference materials. You can write new actions and behaviors, create custom content models, There are many ways you can extend the Platform. This information identifies the supported extension points and how you can leverage them to build your Project ExplorerMaven DependenciesJARalfresco-repository-5.1.e.jarĮclipseJAR alfresco-repository-5.1.e.jar JAR ~/.m2/repository/org/alfresco/alfresco-repository/5.1.e/alfresco-repository-5.1.e-sources.Platform Extensions are extensions to the Platform or Content Services, and can be implemented through a variety EclipseProject Explorer > Import > Import.Ģ.
#Alfresco eclipse development full
Includes modules for: Repository WAR overlay, Repository AMP, Share WAR overlay, Solr configuration, and embedded Tomcat runner) 2: remote -> :alfresco-amp-archetype (Sample project with full support for lifecycle and rapid development of Repository AMPs (Alfresco Module Packages)) 3: remote -> :share-amp-archetype (Share project with full support for lifecycle and rapid development of AMPs (Alfresco Module Packages)) Choose a number or apply filter (format: artifactId, case sensitive contains): : 2 $ cd $ man clean installġ. Using maven-archetype-quickstart (:maven-archetype-quickstart:1.0) Choose archetype: 1: remote -> :alfresco-allinone-archetype (Sample multi-module project for All-in-One development on the Alfresco plaftorm. $ mvn archetype:generate -Dfilter=org.alfresco: Generating project in Interactive mode No archetype defined. Repository extension project Creating a Repository extension project (AMP) Alfresco Getting Started with the Alfresco SDK Before you beginInstalling and configuring softwareĢ.