Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Need a sample report which is using script functionality
SiddamS
Hi Everyone..........
I am pretty new to BIRT.
could anyone help me to know more about script functionality in BIRT.
I want to know where and how to create a script in BIRT.
When I am opening the report in Eclipse it is showing Script Tab.But I am unable to write Javascript functions there.
Where we can write Java script functions.How can we bind that functions to Event Handlers.Can we create Custom Event Handlers.
If you provide the sample report for above queries it would be more helpful to me.
Thanks and Regards
Swetha Siddamshetty.
Find more posts tagged with
Comments
bhanley
There are many, many reports on the DevShare that use scripting and event handlers to get simple and complex things done inside a BIRT report. If you can give me a bit of an idea what you are looking to do, I will try and pick one or two samples that come closest to your needs.
SiddamS
I would like to know how to bind the Java script functions to Event handlers.
Any sample report or video just for reference to know the process.
Thanks and Regards
Swetha.
bhanley
The Script tab in the IDE exposes all the points at which you can add to scriptable events. Once you click on the script tab, you just add your event-specific script. <br />
<br />
Here is an example from the DevShare that modifies a Data Set's query in the beforeOpen script for the report.<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/864-use-a-like-operator-in-a-query/#description'>http://www.birt-exchange.org/devshare/designing-birt-reports/864-use-a-like-operator-in-a-query/#description</a>
;