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 communites
- Export from all or a given community
Other command line switches are -p to specify a specific properties file and -c to specify a specific 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 specific properties file to use in conjuction 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 use a specific community to use in conjuction 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 ommitted. |
<export.output.root.folder>/<community name>/<timestamp>
The < timestamp > value is used to create unique folders for each execution of apc.
You will typically use <export.output.root.folder>/<community
name>/<timestamp>
folder as an input for Asset promotion import on target
EngageOne Compose Server - refer to the previous sections for detailefd information on using
the asset promotion import feature.