| [news.eclipse.birt] Re: Change library Datasource URL at runtime |
Anthony,
Jason
Changing a datasource URL at runtime is trivial using property binding and report parameters (e.g. params["runtimeURL"].value). However this doesn't seem to work when the datasource is in a library - the parameters are ignored, and the defaults are used. So I have two questions
1) How can I change the JDBC driver URL of a datasource once the report is loaded as IReportRunable? Or can I only do it by creating a new datasource and updating all the datasets to reference it?
2) Is there a way to get this to work with property binding and report parameters? Or is it not possible to use libraries to share datasources that need to be changed at runtime? https://bugs.eclipse.org/bugs/show_bug.cgi?id=154189 makes it look like it's not.