Downloading Action Template Implementation File
Pre-requisites:
To download the Java implementation file of an action template through CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named download Action Template for this purpose.
To download the Java implementation file of an action template
Run the command download Action Template. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Action Template [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -id <ID> [-templateFile <TEMPLATE-FILE>]
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the registered CentraSite user identified by the parameter USER-ID. |
ID | The ID of the action template whose implementation file you want to download. You can specify the UDDI key of the template using an optional prefix uddi:. For example: uddi:95f79c00-52a9-11e4-969c-d398081308d4 |
TEMPLATE-FILE | Name of the output file to download the Java implementation file of action template. Note: The default location is <CentraSiteInstall_Directory>/utilities. If you have not specified this parameter, the complete implementation details for the action template is shown in the console. |
Examples (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd download Action Template -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage -id uddi:95f79c00-52a9-11e4-969c-d398081308d4 -templateFile D:\temp\custom_action_implementation.zip
The response to this command could be:
Executing the command : download Action Template
Action Template named Custom Action Template is downloaded successfully
to D:\temp\custom_action_implementation.zip
Successfully executed the command : download Action Template