how do I generate a rptdocument
Comments
-
Hi wakaru8:<br />
You will need to use Report Engine API in order to do that. Create IRunTask to run the report, then use the task to execute the report and save to disk. <br />
<span style='font-family: Courier New'><br />
<em class='bbc'>IReportRunnable design = engine.openReportDesign("C:/temp/MyReport.rptdesign");</em></span><span style='font-family: Courier New'><em class='bbc'><br />
IRunTask task = engine.createRunTask(design); <br />
task.getAppContext().put(EngineConstants.APPCONTEXT_CLASSLOADER_KEY, RunTaskExample.class.getClassLoader()); <br />
task.run("c:/temp/MyReport.rptdocument");<br />
<br />
</em></span> AshwiniWarning No formatter is installed for the format ipb0 -
Here is a good snippet for creating a rptdocument:<br />
<a class='bbc_url' href='http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php#iruntask'>http://www.eclipse.org/birt/phoenix/deploy/reportEngineAPI.php#iruntask</a>0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management