PDA

View Full Version : Customizing Emails Sent Via Pentaho



PriyankaP
09-01-2010, 01:07 AM
Hi,

I am scheduling reports and sending them in email as xsl attachment. While subscribing I've been given to enter the email subject as 'Report Name'. But in the email I also get the following message "This message was automatically generated by a subscription from the Pentaho BI server."

I want to customize the email content..

I am using Biserver 3.6

Please can anyone help.

pgraju
09-01-2010, 04:31 AM
Best to setup reports sent by email using xactions if you want customised email bodies.

There is an example under the bi-developers solution folder.

PriyankaP
09-01-2010, 04:59 AM
Hi,

I have xactions for that, and it works fine... :)

But that wont be easy for non-technical users, who is used to the Pentaho scheduler interface. For them to mention the to, subject, attachments and all will be confusing. And secondly I can't share the source files!!!

I am currently working on this.. and shall post the solution if anyone needs it.. :)

That's why till than, I want to know how I can customize the email contents..

BTW, which example in bi-developers solution folder are you referring to?

PriyankaP
09-04-2010, 12:30 AM
Please can anyone help me with this...???

robj
04-01-2011, 11:07 AM
You edit a jar file. For 3.6.0, grab the pentaho-bi-platform-repository-3.6.0-GA.jar file in biserver-ee/tomcat/webapps/pentaho/WEB-INF/lib, explode it, and edit the org/pentaho/platform/repository/messages/messages.properties file. Change the line where it says:


SubscriptionExecute.EMAIL_BODY_MESSAGE=This message was automatically generated by a subscription from the Pentaho BI server.

to what you want. Re-bundle the jar file and put it back. Stop and restart Pentaho, and all subsequent emails will have your customized message.

larry
12-12-2011, 10:48 AM
Hi,

Is possible put in the SubscriptionExecute.EMAIL_BODY_MESSAGE, messages customizables(with variables)

Thanks.