I would like to take the output from PP reporting components (green) and dump it into a global variable that I can then later embed in an HTML email message that I am building. For example, I might have the following pipe:
1: Delimited Text Reader (beer.txt)
2: Table (green reporting component)
3: Convert to HTML: Take the existing reporting stream and put it into @cur_html_snippet
Then later on, I could append @cur_html_snippet to my HTML email message and I'll get the beer data as an HTML table as part of my HTML email.
Does such component exist? Or is there some way I can convert a reporting stream to HTML?
I realize I can simply write reporting data to an HTML report writer component, but then I get an entire HTML page. I don't want an HTML page but rather just an HTML snippet.
Part of my motivation for wanting this is that I've got elaborate code already completed that uses reporting components to show information onscreen. I'd like to include that information as part of an email message. I'd basically have to build all new code to get it into an email, whether using the HTML template component or just pilotscript to build up my HTML. But since I've already got my reporting stream showing the table the way that I need, it would make it very easy to include it in the email if I could load that reporting stream into a global as HTML.
Thanks,
John Feinberg
Dicerna Pharmaceuticals
