Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
API to list all datasets in a report?
jmuthuku
Hi,
Is there a way to list all the Data Sets in a BIRT report design (*.rptdesign file). I have a report with more than one Data Set and I am trying to change the query (to set a different postgres schema) at runtime for all the Data Sets. I only see a getDataSet(java.lang.String name) method in IReportDesign and not a getDataSets() method.
Any pointers would be very much appreciated. Thanks
- J
Find more posts tagged with
Comments
JasonW
You can get all the datasets by calling:
reportContext.getDesignHandle().getDataSets(); //use .get(0) to get the first one.
Jason