This extension allows you to import and export ACP files from Share UI (you can also import (and extract) ZIP files).
Check out the project if you have not already done so
git clone git://github.com/atolcd/alfresco-share-import-export.git
An Ant build script is provided to build JAR file OR AMP files containing the custom files.
To build JAR file, run the following command from the base project directory:
ant dist-jar
If you want to build AMP files, run the following command:
ant dist-amp
This extension is a standard Alfresco Module, so experienced users can skip these steps and proceed as usual.
- Stop Alfresco
- Copy
share-import-export-X.X.X.jar
into the/tomcat/shared/lib/
folder of your Alfresco (you might need to create this folder if it does not already exist). - Start Alfresco
-
Stop Alfresco
-
Use the Alfresco Module Management Tool to install the modules in your Alfresco and Share WAR files:
java -jar alfresco-mmt.jar install import-export-alfresco-vX.X.X.amp $TOMCAT_HOME/webapps/alfresco.war -force java -jar alfresco-mmt.jar install import-export-share-vX.X.X.amp $TOMCAT_HOME/webapps/share.war -force
-
Delete the
$TOMCAT_HOME/webapps/alfresco/
and$TOMCAT_HOME/webapps/share/
folders.
Caution: please ensure you do not have unsaved custom files in the webapp folders before deleting. -
Start Alfresco
Go to the Share Admin console.
Export tool (ACP only): http://server:port/share/page/console/admin-console/export
Import tool (ACP and ZIP files): http://server:port/share/page/console/admin-console/import
This extension is licensed under GNU Library or "Lesser" General Public License (LGPL)
.
Created by: [Julien BERTHOUX] (https://github.com/jberthoux) and [Bertrand FOREST] (https://github.com/bforest)
[Atol Conseils et Développements] (http://www.atolcd.com) is Alfresco [Gold Partner] (http://www.alfresco.com/partners/atol)
Follow us on twitter [ @atolcd] (https://twitter.com/atolcd)