IBM Cognos Sample Programs

CMTester.exe - Query the Content Store and Display the Results.

The C# CMTester sample program lets you query the "~" search path, and displays the results.


Dependent Files

All associated files are contained in the bin directory of the csharp directory.

How To Run The Sample Program

Launch the command window and navigate to the bin directory in the csharp directory. Type CMTester [--test]
Where:
  --test      is the run automated test option.

A new window will be opened.

Expected Results

The objects located at the selected path are displayed in the window.

The automated test option produces a list of the contents of "~" for the Anonymous user.

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.