Previous Topic: Prompt Queries

Next Topic: getIncidentViewer

getReportViewer

You can use the getReportViewer command to display the graphical viewer for a specific report. The report viewer is similar to the CA Enterprise Log Manager interface report viewer, delivered as a standalone component. You can embed specific reports in an outside application interface or external portal, usually by embedding the URL in an iFrame or portlet.

Note: The solution provided here works with web-based applications such as JSPs, JavaScript, and HTML. The solution might not work in C++ or Java Swing applications depending on the availability and support for an embedded HTML page and the necessary FLASH plug-in of those applications. For those applications where FLASH cannot be supported, we recommend that you use getReportList to determine which queries are included in the report, and then use runQuery for each report to retrieve the raw data and then render it using a method appropriate to your environment.

getReportViewer Example

This example calls the Collection Monitor by Log Manager Report.

https://ELMSERVER:5250/spin/calmapi/getObject.csp?type=getReportViewer&objectId=Subscription/scorecards/Collection_Monitor_by_Log_Manager

You can use filter and other specifications for getReportViewer in the same way as you do for getQueryViewer.

Any report name can be specified by entering the title as it appears in the interface, separated by underscores.

More information:

getReportList

runQuery