Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » IReportDocument.getGlobalVariables() deprecated
IReportDocument.getGlobalVariables() deprecated [message #666637] Thu, 21 April 2011 12:14 Go to next message
Nils is currently offline NilsFriend
Messages: 15
Registered: August 2010
Location: Stuttgart
Junior Member
Hi all,

IReportDocument.getGlobalVariables() is deprecated, but there is no description of a workaround.
what is the proposed way of extracting global variables from a rptdocument?

in our scenario we have to run a report several times (without rendering) using some results of a previous run in the next run.
the easiest way seemed to me to put it in global vars and extract them using the aforementioned method.
it actually works fine, it is just that I don't find an alternative to the deprecated method in case it will disappear in a later version...

cheers,
nils

[Updated on: Thu, 21 April 2011 12:33]

Report message to a moderator

Re: IReportDocument.getGlobalVariables() deprecated [message #666682 is a reply to message #666637] Thu, 21 April 2011 15:01 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Nils,

Can you open a bug for this? Please post back the number as well.
There are other ways to get the globals out but they are complex and not
user friendly.

Jason

On 4/21/2011 8:14 AM, Nils wrote:
> Hi all,
>
> IReportDocument.getGlobalVariables() is deprecated, but there is no
> description of a workaround.
> what is the proposed way of extracting global variables from a rptdocument?
>
> in our scenario we have to run a report several times using some results
> of a previous run in the next run. the easiest way seemed to me to put
> it in global vars and extract them using the aforementioned method.
> it actually works fine, it is just that I don't find an alternative to
> the deprecated method in case it will disappear in a later version...
>
> cheers,
> nils
Previous Topic:Query Designer: Output column names mismatch when joins used
Next Topic:Birt, Scripted Datasources, jBoss
Goto Forum:
  


Current Time: Fri Apr 26 10:19:38 GMT 2024

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

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

Back to the top