IBM Cognos Sample Programs
CreateDrillThroughTarget.sln - Create a Drill-through definition and set its proerties.
The C# CreateDrillThroughTarget sample program demonstrates how to create a drill-through definition and set its properties.
Dependent Files
All associated files are contained in the CreateDrillThroughTarget folder.
How To Run The Sample Program
Double click on the file ../bin/CreateDrillThroughTarget.exe
A window will be opened containing:
- 'Create Target' command button
- URL text box
- Select Package Option combo box
- Select Report Option combo box
- Report Path and Name text box
- Results Display Window
Click on the 'Create Target' button to run the sample program. Select the target report and enter the Drill-through
definition name when prompted.
Expected Results
When the 'Create Target' button is clicked, a new drill-through definition will be created in IBM Cognos Connection. The result will be shown in Results Display Window.
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.