PDA

View Full Version : Display a html email inline from xaction?



codek
12-19-2008, 07:06 AM
Hi,

At the moment we attach our reports as html attachments.

Is there any way to put the html report inline into the email when sending from the xaction?

Thanks,
Dan

pmalves
12-19-2008, 07:17 AM
Yes mate.

With: http://jira.pentaho.com/browse/BISERVER-1957

codek
12-19-2008, 07:50 AM
Ok, was hoping to do it without upgrading tho, never mind!

Thanks,
Dan

mtarallo
12-19-2008, 12:41 PM
I am very surprised at this response.

You don't have to upgrade to put a HTML report in an inline body of an email. I have been doing this since version 1.2.

It may not be evident, but you need to click and drag the report output object from the process actions components list to the body of the inline HTML panel.

Make sure your email component is under the report output component.

Please note that this is your classic example when one depends on forums for accurate information, it can be a gamble so be careful.

That is why Pentaho offers support contracts via a subscription service. You'll get the most accurate information from the engineers who design the software as well as latest supported builds of the software.

Fixes go into the GA EE versions before they go into the CE versions. Sometimes fixes may never go in to the CE versions until a much later time.

Regards,

Mike

Taqua
12-19-2008, 12:48 PM
The patch for BISERVER-1957 makes sure that the reporting engine generates a Multi-Part Mime-Message that contains all styles and images as attachment. With the plain 1.2 solution, images and styles wont be dropped in the mail, making it next to impossible for security aware users to see the images.

The new mime-message output will be available in classic-engine 0.8.11/Platform 2.1.

pmalves
12-19-2008, 12:52 PM
Sorry Dan... maybe I do need to get a hold of myself before clicking the reply button, not to give innacurate information

codek
12-22-2008, 03:51 AM
Dont worry thats fine - i shall give this a go shortly :)

Thanks for the replys. MTarallo - We do have subscription support - it's just that for some questions I judge the forums are a better place to go. ( usually ones i think are quick and easy )

I also dont like to waste the support guys time!

Dan

codek
12-22-2008, 04:06 AM
ah; Clicking and dragging doesnt work for me in the 1.7.0 design studio.

I can click the REPORT from out of the Pentaho Report, but when i drop it into the HTML Message part, nothing happens.

The icon changes to a + to show you can do it, but it just doesnt work.

I presume this is just an interface issue - Can you explain how to do it in the XML Source and i'll do it that way instead.

Thanks,
Dan

mtarallo
12-22-2008, 10:58 AM
I apologize, I made a mistake, the dragging and dropping was for the attachments section of the email component in design studio.

For the HTML Body you just type in the output variable name, that is the name of the the output for the report process action.

1.7 report designer publishes the report component with the output named automatically, 2.0 does not so you can type it in if you need to.

Example:

<report_output>

See the attached video, email_report.zip, view in media player at 200%.

it is kind of grainy, but the attachment will only allow about 2mb.


Hope this helps.

Mike Tarallo
Pre-Sales Director
Pentaho

codek
12-22-2008, 11:18 AM
ah should have known, i got hung up on the drag and drop thing, thanks it works great!