how do I generate a rptdocument
Options
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
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax