cognos.Report object

Represents a report object in the content store.

Properties

prompt

References a cognos.Prompt object for this instance.

Example

This example creates a new cognos.Report object from the current instance.

var ocr= cognos.Report.getReport("_THIS_");

The new ocr object is specific to the cognos.Report namespace and avoids collisions with other objects in your scripts. The keyword _THIS_ should always be used. The Report Server will replace it with a unique namespace during report execution.