Retrieving report content as data
To retrieve report content as data, use the actuate.DataService class from the Actuate JavaScript API. The DataService is packaged with the actuate.Viewer class. Load the actuate.DataService class with actuate.load( ), as shown in the following code:
actuate.load("viewer");
Load support for dialog boxes from the Actuate JavaScript API with actuate.load( ), as shown in the following code:
actuate.load("dialog");
Load the viewer 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.

Additional Links:

Copyright Actuate Corporation 2012