Bursting Bursting in Actiate11
#2
Posted 13 February 2012 - 01:17 PM
#5
#7
Posted 16 February 2012 - 03:02 PM
mwilliams, on 14 February 2012 - 06:54 PM, said:
I modified the code in onCreate to suite my environment. It is working fine in design environment. But when I uploaded these reports to Management Console, following error occured. Need help.
It says report cann't be found. But there is that report.
--------------------------------------------------------------------------------------------------
There are errors evaluating script "importPackage(Packages.org.eclipse.birt.report.engine.api);
var srcStr = reportContext.getReportRunnable().getReportName()+ "";
var srcStr3 = reportContext.getReportRunnable().getReportName()+ "";
var srcStr1 = srcStr.replace(/driver_siva.rptdesign/g,"burst_output.rptdesign");
var re = reportContext.getReportRunnable().getReportEngine();
var des = re.openReportDesign(srcStr1);
var ntask = re.createRunAndRenderTask(des);
ntask.setParameterValue("mname", this.getRowData().getColumnValue(0) );
var options = new PDFRenderOption();
var opf = "OUTPUT/MNO_" + this.getRowData().getColumnValue(0)+ "_" + dt + ".pdf";
var srcStr2 = srcStr3.replace(/driver_siva.rptdesign/g,"");
var outputfile = srcStr2 + opf;
options.setOutputFileName(outputfile);
options.setOutputFormat("pdf");
ntask.setRenderOption(options);
ntask.run();
ntask.close();":
Wrapped org.eclipse.birt.report.engine.api.EngineException: The design file /SIVA/BURSTING/REPORTS/burst_output.rptdesign can not be found. (/report/body/table[@id="2506"]/detail/row[@id="2510"]/method[@name="onCreate"]#8) (Element ID:2510)
-------------------------------------------------------------------------------------------------
#9
Posted 17 February 2012 - 01:27 PM
#10
Posted 18 February 2012 - 04:13 AM
Please see the modified report files(same files given in example). Working excellent in Brdpro. But when moved to Management console it says it could not find the detail report. Both report design files are placed in the same folder. Please help.
Thanks...
Attached File(s)
-
Modified_code.zip (5.95K)
Number of downloads: 3
#12
Posted 21 February 2012 - 11:33 AM
#13
Posted 21 February 2012 - 12:22 PM
#14
Posted 23 February 2012 - 03:38 PM






MultiQuote





