IBM Cognos Sample Programs
DrillThroughUI.java - Create a Drill-through definition and set its properties.
The Java DrillThroughUI sample program will create a drill-through definition and set its properties.
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:
- Package selection dropdown box
- Create Drill-through definition command button
- URL text box
- Output Pane
Click on the 'Create Drill-through definition' button to run the sample program.
Select the target report and enter the Drill-through definition name when prompted
Expected Results
When the 'Create Drill-through definition' button is clicked, a new drill-through definition will be created in IBM Cognos Connection. The result will be shown 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.