importSolution command

The importSolution command imports a case management solution or solution template package into another environment.

Syntax

The following syntax includes line breaks to format the command for reading. Enter the command and options on a single line without any line breaks.
configmgr_cl importSolution -profile myprofile 
 -solutionPackage package_file
 -projectAreaName project_area_name 
 -serviceDataMap service_data_map_name
 -objectStoreDataMap object_store_data_map_name
 [-silent] [-force] [-help]

Parameters

-profile myprofile
Specifies the profile to use. The myprofile value can be one of the following items:
  • The name of the profile, such as develop1. The profile is located in the install_root/CaseManagement/configure/profiles directory. install_root is the location where IBM® Business Automation Workflow is installed.
  • The full path to the profile directory, such as "install_root\CaseManagement\configure\profiles\develop1" or /install_root/CaseManagement/configure/profiles/develop1.
  • The full path to the profile input file, such as "install_root\CaseManagement\configure\profiles\develop1\develop1.cfgp" or /install_root/CaseManagement/configure/profiles/develop1/develop1.cfgp.
-solutionPackage package_file
Specifies the full path and file name the solution package ZIP file that conatins the solution to import. If the path includes spaces, put the entire path in double quotation marks. For example, enter "C:\Solution Packages\Credit Dispute Solution.zip".
-projectAreaName project_area_name
Specifies the name of the project area for the solution. This option is valid only for importing a solution package to into another development environment.
-serviceDataMap service_data_map_name
Specifies the full path and file name for the service data map XML file that was generated by using the generateServiceDataMap command or by using FileNet® Deployment Manager. If the path includes a directory name with spaces, enclose the entire path in double quotation marks. For example, enter "C:\\Solution Packages\\sevice_data_map.xml".
-objectStoreDataMap object_store_data_map_name
Specifies the full path and file name for the object store data map XML file that was generated by using the generateObjectStoreDataMap command or by using FileNet Deployment Manager. If the path includes a directory name with spaces, enclose the entire path in double quotation marks. For example, enter "C:\Solution Packages\object_store_data_map.xml".
-silent
Optional: When you specify the -silent parameter, no prompts or informational messages are shown in the console, but the errors are written to the log. Failure messages and validation error messages are shown as needed, such as messages about missing passwords or invalid port numbers. If you run the execute command to run all the activities in a profile and you specify the -silent parameter, you must also specify the -force parameter.
-force
Optional and applies only when the -silent parameter is used. When you specify the -force parameter, the activity is run without pausing for required responses to validation error messages, such as messages about missing passwords or invalid port numbers.
-help
Optional: Shows a brief message on the command syntax instead of running the command.

Sample commands

The following examples include line breaks to format the command for reading. Enter the command and options on a single line without any line breaks.
Import a solution package by using the default service datamap.
The following command imports the Solution1.zip solution package to the object store that is used in the MyDevelop1 profile. The solution will be assigned to the Credit Dispute project area. The default data mapping is used.
configmgr_cl importSolution -profile myDevelop1 
 -solutionPackage "C:\solution packages\Solution1.zip"
 -projectArea "Credit Dispute" 
Import a solution package by using custom service datamap.
The following command imports the Solution1.zip solution package to the object store that is used in the MyDevelop1 profile. The solution will be assigned to the Credit Dispute project area. A custom datamap that was created with the generateServiceDataMap command is used.
configmgr_cl importSolution -profile myDevelop1 
 -solutionPackage "C:\solution packages\Solution1.zip"
 -projectArea "Credit Dispute" 
 -serviceDataMap "C:\solution packages\sevice_data_map.xml"
Show the help for the importSolution command.
The following command shows the help for the importSolution command:
configmgr_cl importSolution -help