Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » reusing data sets(data sets)
reusing data sets [message #504954] Wed, 23 December 2009 13:49 Go to next message
Shayne Paddock is currently offline Shayne PaddockFriend
Messages: 11
Registered: December 2009
Junior Member
When I create reports I typically insert thumbnail graphics in the header to return the report in PDF or Excel format. On the images I configure the hyperlink as a drill-through and configure all the same parameters and the web version.

This works OK in most cases but is a real pain when data sets take a while to run. Is there a way to reuse the data set from the web version?

I see an option to configure "report document" but the document gets built with a unique name and runtime so I wouldn't know how to reference it.

Reusing data sets would also be helpful for drilling down to reports that would use them as well.

Any help in this would be greatly appreciated.


Kindest regards,
Shayne
Re: reusing data sets [message #504961 is a reply to message #504954] Wed, 23 December 2009 19:34 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Shayne,

You could always use a beforeFactory script to get the value in a
JavaScript variable like

myjsvar =
reportContext.getHttpServletRequest().getAttribute("attributeBean ").getReportDocumentName();

Make sure to not use the var keyword to make it global. Also realize
this only works when using 2 processes instead of 1 to generate the
report. This happens with a /frameset url but not with a /run as no
report document is created when using one process.

Jason

Shayne Paddock wrote:
> When I create reports I typically insert thumbnail graphics in the
> header to return the report in PDF or Excel format. On the images I
> configure the hyperlink as a drill-through and configure all the same
> parameters and the web version.
>
> This works OK in most cases but is a real pain when data sets take a
> while to run. Is there a way to reuse the data set from the web version?
>
> I see an option to configure "report document" but the document gets
> built with a unique name and runtime so I wouldn't know how to reference
> it.
>
> Reusing data sets would also be helpful for drilling down to reports
> that would use them as well.
>
> Any help in this would be greatly appreciated.
>
>
> Kindest regards,
> Shayne
Previous Topic:Removing unused data column bindings from XML source.
Next Topic:crosstab data cube w/ xml data source problem
Goto Forum:
  


Current Time: Tue Apr 16 13:20:37 GMT 2024

Powered by FUDForum. Page generated in 0.19437 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top