Projet

General

Profil

Designer installation

The beCPG designer module is a complete modeler for Alfresco Share. It allow to create new types and forms directly from the Share interface

Installation

The designer module consists of AMPs which can be downloaded here.

Once downloaded you will get needed AMPS and scripts under zip file.

Install under Windows

Stop Alfresco
Copy all AMPs under alfresco/amps folder 
Copy apply_becpg_amps.bat under alfresco/bin 
Run "apply_becpg_amps.bat" 
On custom installation, copy $server/webapps/alfresco/WEB-INF/classes/alfresco/module/becpg-designer-core/becpg-config-designer.properties under alfresco/tomcat/shared/classes and adapt the file (ie: beCPG.designer.configFiles = c:\\alfresco\\alf_data\\designer\\*.xml)
Start Alfresco

Manually Install becpg-designer

Install core AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-core/target/becpg-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-core/target/becpg-designer-core-$BECPG_VERSION.amp $SERVER/webapps/alfresco.war -force

Install share AMPS

$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-share/target/becpg-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force
$>java -jar  $ALF/bin/alfresco-mmt.jar install ./becpg-designer/becpg-designer-share/target/becpg-designer-share-$BECPG_VERSION.amp $SERVER/webapps/share.war -force

Using modeler

Start Alfresco

First you should initialize beCPG. Go to beCPG menu --> Administration and click on initialize repository.

Designer is then accessible to the url /share/page/model-designer.

This vidéo show a demonstration of designer usage

To add a new model to the designer, load a model file into folder "Data dictionnary/Models".
To add a form config file, load the xml file into folder "Data dictionnary/Configs".

More documentation on Data Models and Forms

Warning:

Once a model is publish and you start using it, is really hard to remove it without scripting. So consider always tests your model before production.
Once a model is publish only incremental changes are permitted (fields addons)

Creating and publishing models