Creating a custom web page using the Actuate JavaScript API : Viewing a report as a data service

Viewing a report as a data service

To retrieve report content as data, use the actuate.DataService class from the Actuate JavaScript API. Load the actuate.DataService class with actuate.load( ), as shown in the following code:

actuate.load("dataservice");

Load support for dialog boxes from the Actuate JavaScript API with actuate.load( ), as shown in the following code:

actuate.load("dialog");

Load the data service and dialog components to use data services on the page. Call the functions in the actuate.DataService class to prepare report data, then call downloadResultSet( ) from the DataService class to obtain the report data.


(c) Copyright Actuate Corporation 2011