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)
Drilldown Hyperlinks in BIRT Viewer
krish2010
Hi,<br />
<br />
I want to invoke the report from a Pie / Bar chart based on the value type.<br />
<br />
I think the hyperlink option works well if my drilldown target is only one report. but i need to route to different reports based on the value type.<br />
<br />
i.e <br />
Type = Individual then invoke "individual.rptdesign"<br />
Type = Corporate then invoke "corp.rptdesign"<br />
......................<br />
<br />
Came across an sample from this great website, but that sample would work with Portal.<br />
<br />
I am doing a PoC and need to demonstrate this <strong class='bbc'>using BIRT viewer.</strong><br />
<br />
Thanks in advance.
Find more posts tagged with
Comments
mwilliams
Hi krish2010,
Since the BIRT viewer uses URL's to open report designs, you could use javascript to build your report URL rather than using the "drill through".
krish2010
Thanks williams for the prompt response. I am newbie to BIRT, correct me if i am wrong - from the chart interactivity option, we should write the javascript to open the "rptdesign" - mouse-click, execute script option.<br />
<br />
Appreciate if you could point me to some reference for the javascript to invoke the report.<br />
<br />
thanks again.<br />
<br />
<blockquote class='ipsBlockquote' data-author="'mwilliams'" data-cid="69043" data-time="1286283335" data-date="05 October 2010 - 05:55 AM"><p>
Hi krish2010,<br />
<br />
Since the BIRT viewer uses URL's to open report designs, you could use javascript to build your report URL rather than using the "drill through".<br /></p></blockquote>
krish2010
Hi William,<br />
<br />
Thanks for the input. I got it. I have used this option and worked for me.<br />
<br />
Variables-->ChartDataPoint-->categoryData then I have written a simple javascript window.open to invoke my reports.<br />
<br />
thanks.<br />
<br />
<br />
<blockquote class='ipsBlockquote' data-author="'krish2010'" data-cid="69072" data-time="1286326753" data-date="05 October 2010 - 05:59 PM"><p>
Thanks williams for the prompt response. I am newbie to BIRT, correct me if i am wrong - from the chart interactivity option, we should write the javascript to open the "rptdesign" - mouse-click, execute script option.<br />
<br />
Appreciate if you could point me to some reference for the javascript to invoke the report.<br />
<br />
thanks again.<br /></p></blockquote>
mwilliams
Excellent! Glad you got it! Let us know whenever you have questions!