Skip to main content



      Home
Home » Archived » BIRT » Modify the DataSource in Java
Modify the DataSource in Java [message #1014825] Tue, 26 February 2013 09:38 Go to next message
Eclipse UserFriend
Hi,

I want to modify my XML Url in my Java application.
Till now I couldn't find how to get the property to modify it.

That is my code how I tried to read it out:

DataSourceHandle dshDataSource = design.getDesignHandle().getModuleHandle().findDataSource("TESTSOURCE");
DesignElement rehDataSource = dshDataSource.getElement();


If I debugg and observe the variables I can see the XML URL but I don't know how to change it.
In my Case the Report will have a XML URL and I wil read it out and change it.

Cheers,
Samet
Re: Modify the DataSource in Java [message #1015029 is a reply to message #1014825] Wed, 27 February 2013 04:04 Go to previous message
Eclipse UserFriend
I got it:

Object epd =  rehDataSource.getProperty(null, "FILELIST");
rehDataSource.setProperty("FILELIST", <propValue> );



Cheers

[Updated on: Wed, 27 February 2013 04:06] by Moderator

Previous Topic:Birt Chart Engine Api - set y-axis labels
Next Topic:Create a new Emitter with an existing Emitter - HTML
Goto Forum:
  


Current Time: Wed Mar 19 11:50:44 EDT 2025

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

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

Back to the top