|
Re: Data sources [message #524414 is a reply to message #523962] |
Wed, 31 March 2010 20:24 |
|
You should be able to use script or property binding for this.
In the beforeOpen you could do this:
this.setExtensionProperty("odaURL","jdbc:mysql://localhost/mysql");
if you pass in the db url as a parameter
this.setExtensionProperty("odaURL",params["mydburlparameter "].value);
You can also set the value the value in property binding in the
datasource editor to params["mydburlparameter"].value;
Jason
moloco wrote:
> Sorry for may bad En :blush:
> Situation :
>
> We have several DB servers (mirrors) and one tomcat
> instance with BIRT. How we can select datasource in BIRT
> on the fly? What the best point in BIRT engine to insert code for this?
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03418 seconds