IBM Cognos Sample Programs

DeploymentUI.java - Control the Content Manager deployments by using the specified values.

The Java DeploymentUI sample program demonstrates how to specify values for the deployment options that control the Content Manager deployments


Dependent Files

Associated files are contained under the java sample folder.
Additional files required for running are identified in the CLASSPATH definitions in run.bat or run.sh file.

How To Run The Sample Program

Double click on the file run.bat for WINDOWS or run.sh for UNIX.

A window will be opened containing:
    - Deployment Option selection dropdown box
    - Run Option command button
    - URL text box
    - Output Pane

Select a deployment option from the drop down box, and click on the 'Run Option' button to run the sample program.

Expected Results

When the 'List Archives' option is selected, the Output pane will display all the deployments found in IBM Cognos Connection.
When the 'Import' option is selected, the user will be prompted to select a deployment archive from a list in a dropdown box. Then the user will be prompted to select the public folders content. The Output pane will display the results.
When the 'Export' option is selected, the user will be prompted to specify a name. Then, the user will be prompted to select the public folders content. The Output pane will display the results.

Documentation

The IBM Cognos Software Development Kit Developer Guide contains additional information about the samples. See the chapter titled 'Methods' and the appendix titled 'Code Samples and Language-Specific Coding Practices'.

Please note that the samples are not intended to be treated as end-user applications. Refer to the sample code for examples of how to use the API when developing your own applications.