Usage
Copy the:
<release-distribution>/utilities/AssetPromotionCommand
folder to any location on any machine with Windows or Linux, with Java 11 installed that has access to the database and active drive.
You can run the apc command in two modes using the -g switch:
- List all communities
- Export from all or a given community
Other command line switches are -p to specify a properties file and -c to specify a community. Refer to the table below for detailed information.
Command | Description |
---|---|
apc –h | Displays help on APC usage. |
apc -g communities apc -g communities -p c:/apc/apc.production.properties |
Lists all communities. Use the -p switch to specify a properties file to use in conjunction with the list command. |
apc -g export apc -g export -c myCommunity |
Export supported assets from all communities, using the default properties file. Use the -c switch to specify a specific community to use in conjunction with the export. |
apc -g export -c myCommunity -p c:/apc/apc.production.properties apc -g export -p c:/apc/apc.production.properties |
Use the -p switch to run the export using a non-default properties file. The first example shows the command to use when running the export for a given community. The second example shows the command for all communities; the -c switch has been omitted. |
<export.output.root.folder>/<community name>/<timestamp>
The < timestamp > value is used to create unique folders for each run of apc.
You will typically use <export.output.root.folder>/<community
name>/<timestamp>
folder as an input for Asset promotion import on the target
EngageOne™ Compose Server; see the previous sections for detailed information
on using the asset promotion import feature.