Skip to main content



      Home
Home » Archived » BIRT » Scripted Datasource & Scripting
Scripted Datasource & Scripting [message #201272] Thu, 16 November 2006 12:01 Go to next message
Eclipse UserFriend
I have created a scripted datasource which accesses a Java Object to get
the reports data.

Can anyone tell me if its possible to get values of the report in the
scripting, for example I would like to pass the reports displayNameID into
the Java object as a parameter.

I have tried using 'report.displayNameID' but it returns blank.
Re: Scripted Datasource & Scripting [message #201304 is a reply to message #201272] Thu, 16 November 2006 13:27 Go to previous message
Eclipse UserFriend
You may be able to do it by calling
xyz = reportContext.getReportRunnable().getDesignInstance().displa yNameKey;

myjavmetho( xyz );


Jason

"Rob" <Rob.hingston@andrew.com> wrote in message
news:28104a3990e721ce906434942f8f9934$1@www.eclipse.org...
>I have created a scripted datasource which accesses a Java Object to get
>the reports data.
> Can anyone tell me if its possible to get values of the report in the
> scripting, for example I would like to pass the reports displayNameID into
> the Java object as a parameter.
>
> I have tried using 'report.displayNameID' but it returns blank.
>
Previous Topic:passing report parameter
Next Topic:How to concatenate many 255 char records
Goto Forum:
  


Current Time: Tue Jul 22 13:05:41 EDT 2025

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

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

Back to the top