IBM Cognos Sample Programs

ViewAllUI.java - View all Packages, Reports and Queries.

The Java ViewAllUI sample program queries the content store for packages, reports and queries.


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 file.

How To Run The Sample Program

Double click on the file run.bat.

A window will be opened containing:
    - View All command button
    - URL text box
    - Output Pane

Click on the 'View All' button to run the sample program.

Expected Results

All packages, reports, queries and their associated search paths will be displayed in the Output Pane.

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.