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)
Report Scripting
santhosh.g
How to create dataset using report scripting.
Find more posts tagged with
Comments
_Petr
Hi<br />
For example<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>
var elementFactory = reportContext.getReportRunnable().designHandle.getElementFactory();
var scriptDataSet = elementFactory.newScriptDataSet("nameSDS");
var odaDataSet = elementFactory.newOdaDataSet("nameODS");
</pre>
You can give more information in API class org.eclipse.birt.report.model.api.ElementFactoryImpl
mcremer
For most Eclipse technolegy you got this great site www.vogella.de.
In his article about Eclipse Birt (
http://www.vogella.de/articles/EclipseBIRT/article.html)
you can read it in detail here
http://www.vogella.de/articles/EclipseBIRT/article.html#data_javascript
johnw
I answered this several weeks ago for someone. I'll share it here as well.
http://digiassn.blogspot.com/2011/01/birt-dynamically-adding-data-set-to.html