What i am trying to do is to generate a report and send it as an attachment via email. I have configured email_config.xml and have tested it by running the example 'Burst Sales Report'. From the documentation of reportViewer there seems to be a reportViewer parameter called 'destination' and the document states that 'If email settings are configured in the BI Platform, this parameter will allow you to specify a single email address to send the rendered report to.'
However this did not work for me - an example URL i used was
http://localhost:9080/pentaho/content/reporting/reportviewer/report.html?solution=steel-wheels&path=%2Freports&name=Country.prpt&locale=en_US&destination=xyz@gmail.com
However no email was received .
Couple of questions:
1) Can the REST API be used to generate a report and send it as an attachment in an email
2) If there is no such API what the best way to generate and email a report
I am using Pentaho Bi Server CE version 4.8
thx
Vadi
However this did not work for me - an example URL i used was
http://localhost:9080/pentaho/content/reporting/reportviewer/report.html?solution=steel-wheels&path=%2Freports&name=Country.prpt&locale=en_US&destination=xyz@gmail.com
However no email was received .
Couple of questions:
1) Can the REST API be used to generate a report and send it as an attachment in an email
2) If there is no such API what the best way to generate and email a report
I am using Pentaho Bi Server CE version 4.8
thx
Vadi