Customize parameter collectors for your BIRT report
Posted by
averma
, 29 February 2012 - 02:33 PM
Both open source BIRT and Actuate BIRT has its default parameter collection mechanism. If a report design uses parameters, you are prompted to enter its values though an auto generated parameter collection screen. This default parameter collection screen works well for most common needs, however there are times when you want to provide your own parameter collection mechanism in a web page (as a part of your application) and display the results.
If you are using open source sample viewer you can achieve this by using viewer tag library. The Viewer tab library has three tags that helps define parameter entry page: param, parameterPage, paramDef. You can read more about these along with an example of tag lib usage here.
Actuate Viewer comes with Javascript API client library (JSAPI) that enables creation of custom web pages in any (java or non-java) application. It has a separate class (actuate.Parameter) that handles parameters and parameter values. You can call class methods to download the parameters from the report and display them in the assigned <div> HTML element etc. If you prefer not to use this class and instead have your own mechanism to collect parameters, you can simply pass the collected parameter values to the report using actuate.Viewer.setParameters method call. e.g
viewer.setParameters(myParams);
Here is a link to my recent Devshare article with a couple of examples, one that uses actuate.Parameter class to display parameters and another that doesn’t. You can download the above example and run it with your own instance of BIRT iServer. If you don’t have BIRT iServer, you can download 45 day free evaluation copy and set it up in 15 minutes or less.
If you are using open source sample viewer you can achieve this by using viewer tag library. The Viewer tab library has three tags that helps define parameter entry page: param, parameterPage, paramDef. You can read more about these along with an example of tag lib usage here.
Actuate Viewer comes with Javascript API client library (JSAPI) that enables creation of custom web pages in any (java or non-java) application. It has a separate class (actuate.Parameter) that handles parameters and parameter values. You can call class methods to download the parameters from the report and display them in the assigned <div> HTML element etc. If you prefer not to use this class and instead have your own mechanism to collect parameters, you can simply pass the collected parameter values to the report using actuate.Viewer.setParameters method call. e.g
viewer.setParameters(myParams);
Here is a link to my recent Devshare article with a couple of examples, one that uses actuate.Parameter class to display parameters and another that doesn’t. You can download the above example and run it with your own instance of BIRT iServer. If you don’t have BIRT iServer, you can download 45 day free evaluation copy and set it up in 15 minutes or less.
0 Comments On This Entry
Page 1 of 1
Page 1 of 1
Recent Entries
BIRT at Eclipse Demo Camp Juno 2012
Use BIRT to analyze cross tab data
Customize parameter collectors for your BIRT report
Publishing reports to BIRT onDemand made easy!
Enable Interactivity in your BIRT Viewer
BIRT goes Mobile!
Make your dashboards more productive for your users
Create interactive Salesforce dashboards with BIRT
Cut that waiting time
Are you up for the challenge?
Use BIRT to analyze cross tab data
Customize parameter collectors for your BIRT report
Publishing reports to BIRT onDemand made easy!
Enable Interactivity in your BIRT Viewer
BIRT goes Mobile!
Make your dashboards more productive for your users
Create interactive Salesforce dashboards with BIRT
Cut that waiting time
Are you up for the challenge?
My Blog Links
Recent Comments
- rveesam on What are BIRT Data Objects and why do I need them?
- subhapriyo on BIRT at Eclipse Demo Camp Juno 2012
- actuser9 on Still using scripted data source for your POJO's?
- aparandekar on Build your own dashboards with BIRT and Google gadgets
- Debolina on BIRT goes Mobile!
- averma on Create Live Excel Spreadsheets from BIRT
- pasc on Create Live Excel Spreadsheets from BIRT
0 user(s) viewing
0 Guests
0 member(s)
0 anonymous member(s)
0 member(s)
0 anonymous member(s)
Categories
- Actuate
- ad-hoc
- analysis
- big data
- BIRT
- BIRT 360
- BIRT ajax library
- BIRT Analytics
- BIRT Android
- BIRT Android Honeycomb
- BIRT Contest
- BIRT dashboard
- BIRT Data Analyzer
- BIRT Data Object
- BIRT data source
- BIRT Demo camp
- BIRT Designer
- BIRT Document
- BIRT ECM
- BIRT excel emitter spreadsheet
- BIRT gadget
- BIRT hackathon
- BIRT iOS
- BIRT iPad
- BIRT iPhone
- BIRT iServer
- BIRT Mobile
- BIRT Mobile app
- BIRT Nuxeo Integration
- BIRT Object
- BIRT Pivot Table
- BIRT Progressive Viewing
- BIRT Report Designer
- BIRT Report Document Data Source
- BIRT Script
- BIRT Server
- BIRT tag library
- BIRT Training
- BRD Pro
- contextual
- cross tab
- crosstab
- cube
- Custom BIRT parameter screen
- custom events
- dashboard
- Data cache
- data object
- Data Set
- demo birt server
- demo iServer
- demo server
- dependency analysis
- Deploy BIRT
- donut chart
- Dynamic Parameter
- e.Report gadget
- EasyScript
- Eclipse BIRT
- Eclipse demo camp
- emitter
- file size
- flash
- font
- free iPad 2
- google gadget
- hadoop
- Hibernate
- hive
- HTML gadget
- HTML5
- impact analysis
- Interactive BIRT Reports
- Interactive Reporting
- Interactive Viewer
- interactivity
- iServer
- iServer easy installer
- iServer installer
- iServer zip package
- Java Bean
- JavaScript
- jobs
- Join DataSet
- JSAPI
- Juno 2012
- link BIRT reports
- live demo environment
- Merge DataSet
- Nuxeo
- OLAP
- Oracle BIRT
- Parallel report generation
- pipeline dashboard
- POJO
- report dashboard
- Report Designer
- Report Document
- Report Document ODA
- report server
- reporting dashboard
- sales dashboard
- Salesforce
- salesforce dashboard
- scheduling
- sort by group
- Toplink
- Union DataSet




Del.icio.us
Digg
Facebook
Google
Mixx
Reddit
StumbleUpon
