Dynamically Modifying a Report from the BIRT PDF Viewer [message #774866] |
Wed, 04 January 2012 15:01  |
Eclipse User |
|
|
|
I have created a report that I output from the report designer using the
BIRT PDF viewer. I want to look at the report to review it to ensure
that it looks like I want it to and that it contains the correct
information. Then I want to be able to click a button or text on the
report that will call a stored procedure in my database to run an INSERT
command using some of the report variables. I also want the button or
text that I click on to be hidden after the click.
To see if I could get an interactive button on the PDF I have tried
adding a text element to the report that is set to html type and then I
entered:
<INPUT type="button" value="Refresh" onclick="reloadpage()" />
as shown in an old post:
http://www.eclipse.org/forums/index.php/mv/msg/204101/652984/#msg_652984
The problem with the above item is that the button does not show in the
PDF viewer.
I have a workaround that should work but it is not very clean. I could
create a hyperlink that calls a subreport that is just a duplicate
report that does not have the hyperlink in it and also calls the INSERT
command. I would however like to have a solution that is contained in
just one report file.
Thanks,
JB
|
|
|
|
Powered by
FUDForum. Page generated in 0.03847 seconds