Skip to main content



      Home
Home » Archived » BIRT » How to pass parameter to scripted data source
How to pass parameter to scripted data source [message #639130] Mon, 15 November 2010 06:59 Go to next message
Eclipse UserFriend
HI i am working on one sample example on using scripted data source.I am able to run sucessfully .In next step want to pass parameters.After google i found that we we need to use params["myparameterName"]); But this is not giving any result when i preview the result.

So can any one help me on this regard.

Thank you in advance
Vijay Kumar Bolisetti
Re: How to pass parameter to scripted data source [message #639228 is a reply to message #639130] Mon, 15 November 2010 11:07 Go to previous message
Eclipse UserFriend
Vijay,

How are you using the parameter in the scripted datasource. You can add
a dataset parmeter to a scripted datasource and link it to a report
parameter and then reference the parameter in script like:

inputParams["mydatasetparameter"].value

You should also be able to reference the report parmeter using

params["myparameterName"].value

Jason

On 11/15/2010 6:59 AM, vijay kumar wrote:
> HI i am working on one sample example on using scripted data source.I am
> able to run sucessfully .In next step want to pass parameters.After
> google i found that we we need to use params["myparameterName"]); But
> this is not giving any result when i preview the result.
>
> So can any one help me on this regard.
>
> Thank you in advance
> Vijay Kumar Bolisetti
Previous Topic:Report Designer perspective not available
Next Topic:How to create .rptdocument
Goto Forum:
  


Current Time: Wed Jul 23 08:26:43 EDT 2025

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

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

Back to the top