Created
June 16, 2016 11:15
-
-
Save loftux/2e9a835e82dad76699576aa70fecc0f9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To be used with Alfresco JS Console. Select folder in js console to create export package for | |
var exportaction = actions.create("export"); | |
exportaction.parameters["store"] = "workspace://SpacesStore"; | |
exportaction.parameters["package-name"] = space.properties.name + "_export.acp"; | |
exportaction.parameters["destination"] = space.parent; | |
exportaction.parameters["include-children"] = true; | |
exportaction.parameters["include-self"]=true; | |
exportaction.parameters["encoding"]="UTF-8"; | |
exportaction.execute(space); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment