BIRT Exchange Forum: BIRT Exchange Forum -> Enable Interactivity in your BIRT Viewer

Jump to content


 

BIRT Poll: Have you ever done any development work on mobile?

Yes - lotsYes - someNo - but plan toNo time or interestWhat is mobile?

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



0 Comments On This Entry

Page 1 of 1

There are no comments on this entry

Page 1 of 1

« June 2013 »

S M T W T F S
1
2345678
9101112131415
1617 18 19202122
23242526272829
30

My Picture

0 user(s) viewing

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

Categories

Search My Blog

Twitter