BIRT Exchange Forum: BIRT Exchange Forum -> BIRT Rocks!

Jump to content


 

BIRT Poll: To best make a table fill a pdf page before breaking (PL=page layout, PBI=page break interval) set:

PL: auto, PBI: 0PL: fixed, PBI: 0PL: auto, PBI: 1000000PL: fixed, PBI: 1000000
Page 1 of 1

Enable Interactivity in your BIRT Viewer

Posted by averma  Icon, 19 December 2011 - 04:22 PM

BIRT Interactive Viewer(IV) is an end user tool that enables you to analyze and modify BIRT reports on the web using just your browser. It is implemented as a viewing service of BIRT iServer and can be turned on for all the reports or for each report. This article explores different ways this can be achieved.

You can enable IV for an individual report by selecting "Enable Interactivity" option when you launch Actuate BIRT Viewer as shown in the screen shot below:
Posted Image
There might be cases where you may want to skip though the above step and enable interactivity for all the reports by default when they are launched. This can be achieved by setting the configuration variable "AutoEnableIV" to true defined in file "[Install Dir]\iServer\servletcontainer\iportal\WEB-INF\iv_config.xml". This configuration variable is defined for each role and so you will find multiple matching entries . Choose the role for which you want to apply this setting. Role "All" would enable this for all the users. This change requires a restart of BIRT iServer.

If you just want a specific report to open with IV enabled, and don't want to use the global approach described above, then you can add the following code to the individual report design in onContentUpdate handler method:
if (!this.getViewer().isInteractive())
this.getViewer().enableIV();

Actuate JSAPI (AJAX-based Javascript library) is another popular way of embedding BIRT reports within your composite web application and offers APIs to enable or disable interactivity. To enable it by default, use enableIV() API as a callback to submit() function call as follows (Download complete source code):
viewer.submit(function(v){
v.enableIV();
});

Learn more about Interactive Viewing or download BIRT iServer with Interactive Viewer for a 45 days free trial from here and experience its rich internet application platform.

Filed in Interactive BIRT Reports, Interactive Reporting, Interactive Viewer, Deploy BIRT, BIRT ajax library

Page 1 of 1

« May 2013 »

S M T W T F S
1234
567891011
12131415161718
19 202122232425
262728293031

My Picture

0 user(s) viewing

0 Guests
0 member(s)
0 anonymous member(s)

Categories

Search My Blog

Twitter