best practise to generate reports automatically

katjwygo
edited February 11, 2022 in Analytics #1
<p>Hello,</p>
<p> </p>
<p>this is the first time I use the forum and I hope someone could give me some "best practise" tips to the following topics:</p>
<p> </p>
<p><strong>1: save birt report directly on client filesystem</strong></p>
<p>I read that I can generate a report to the filesystem via birt runtime (genReport.bat). But I don`t want to use the birt runtime, cause I have to configure the birt runtime and additional the tomcat server, which I use for the viewer. Isn`t there a possibility to use the viewer to save a report as pdf directly on client filesystem? What is the best way to save a report as pdf on a client filesystem?</p>
<p> </p>
<p><strong>2: print birt report directly</strong></p>
<p>I try to use the viewer to print a report with the following link:</p>
<p><a data-ipb='nomediaparse' href='http://localhost:8081/ABISRep/frameset?__report=test.rptdesign&__format=pdf&__action=print&__printer=emuepr114'>http://localhost:8081/ABISRep/frameset?__report=test.rptdesign&__format=pdf&__action=print&__printer=emuepr114</a></p&gt;
<p> </p>
<p>But I get the following error:</p>
<p>AxisFault</p>
<p>faultCode: PrintUtility.execPrint()</p>
<p>faultSubcode:</p>
<p>faultString: invalid flavor</p>
<p>faultActor:</p>
<p>faultNode:</p>
<p>faultDetail:</p>
<p>....</p>
<p> </p>
<p>I just get the same error if I don't use the parameter __printer. Any idea?</p>
<p> </p>
<p><strong>3:send report as an email attachment</strong></p>
<p>How does this work/what is the best way?</p>
<p> </p>
<p>Generally we need to generate reports and save them in the filesystem, print reports to different printers or send reports via email attachments to given timestamp (via service/cron).</p>
<p> </p>
<p>We use eclipse neon, tomcat 8.0.39 and birt 4,5 (cause of some Bugs in 4.6)</p>
<p> </p>
<p>I hope someone could give me some tips. Thanks!</p>
<p> </p>

Comments