Copying an existing solution by using the command line

You can copy an existing solution to quickly begin designing a new solution that is based on the existing solution. You can use the command line to create the copy.

About this task

You can create a copy of an existing solution in the same object store. You must specify a new name and solution prefix for the new solution because these values must be unique.

You can either reuse the existing properties or document types from the original solution, or you can select the option to create new properties or document types when you deploy the new solution. When you reuse existing properties or document types in a solution, you cannot redefine them in Case Manager Builder. You can remove the property or document type from the solution in Case Manager Builder, but you cannot change any of the attributes, such as data type.

Restriction: You cannot copy a solution that contains locked items.

Procedure

To copy a solution:

  1. Change the current directory to the install_path/CaseManagement/configure directory. install_path is the location where IBM® Case Manager is installed.
    Option Description
    AIX® Linux By default, install_path is the /opt/IBM/CaseManagement directory.
    Windows By default, install_path is the C:\Program Files\IBM\CaseManagement directory for a fresh install or the C:\Program Files (x86)\IBM\CaseManagement directory for an upgrade.
  2. Generate the text input file by running the following command. Do not type any line breaks when you enter the command:
    configmgr_cl generate_input_sa -operation copy 
     -file input_file_name
    [-help]
    -file input_file_name

    Specifies the full path to the text input file to create. The directory structure in the path must exist. You can use any valid file name, but the .txt extension is recommended. For example, use -file C:\solutions\copy_input.txt.

    -help
    Optional: Shows a brief message on the command syntax instead of running the command.
    For example, the following command creates the C:\solutions\copy_input.txt input file:
    configmgr_cl generate_input_sa -operation list 
     -file C:\solutions\copy_input.txt 
  3. Edit the property values in the input_file_name file.
    1. Open the input_file_name file in a text editor.
    2. Provide a value for each property in the file. For example, enter the Content Engine server WSI URL value:
      CEWS_URI=http://myserver:9080/wsi/FNCEWS40MTOM
    3. Save and close the input file.
  4. Apply the values in the text input file by running the following command. Do not type any line breaks when you enter the command:
    configmgr_cl execute_sa -operation copy 
     -file input_file_name