Focal Point
Adding Dynamic content to the body of the mail
May 19, 2008, 05:49 AM
<B_B>Adding Dynamic content to the body of the mail
Hi
Using Burst Reports, i am able to add the PDF attachments in the mail.
Could you help me in adding the dynamic content to the mail?
e.g If mail goes to 2 users, then 1st mail should be Dear x with an attatchment
and 2nd mail should have Dear y with an attatchment.
Tha dynamic attachments have been done.But, could you help me in adding dynamic content to the body of the mail .
Can dynamic Content be added to the body of the mail using Report caster?
Thanks,
Bhavna
May 19, 2008, 12:30 PM
Darin LeeReport Caster doesn't work that way. You would have to add a "cover page" to the content of the PDF file if you wanted a something like that. I don't think there is a way to customize the content of an email with dynamic data based on burst values. Might be a nice New Feature request.
Regards,
Darin
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
May 20, 2008, 12:01 PM
N.SelphSince you can have one report be used as the body of the email (HTML), can't you have one bursted task that creates that report, and another bursted task that creates the PDFs?
(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
May 20, 2008, 03:13 PM
Darin LeeNo. ReportCaster will only distribute a single output. You can create compound reports to distribute multiple reports, but there can only be a single ON TABLE HOLD FORMAT xxx. As a direct result, only a single output format can be created (HTML OR PDF but not both.) You could accomplish something similar by created a number of hold files and them attaching them as external files, but since there are better ways to get the job done, I have never explored this option.
Regards,
Darin
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
May 21, 2008, 04:39 AM
RolandDarin,
I have to disagree with you
.
I do exactly what N.Selph proposed. I do it because my mail body message is too big to fit into the Message area of Report Caster. But you can use the same technique to provide dynamic content to the mail message.
I have the first task of my Report Caster Schedule to output in HTML. The following tasks have to output in PDF. I make the first tasks output be my message body. By doing so all other output will be attached to the mail automatically by Report Caster.
You have to make sure, that all of the tasks are resulting in the same set of burst values. So if you have burst values for mail adresses A, F and Y in the first task, the following tasks have to result also with burst values for mail adresses A, F and Y. I did this by using the same input with the same selection conditions for all my tasks.
This works for us now for 2 years every day. Never had any problems.
Roland
Prod: WF 7.1.5
Test: WF 7.6.4
Unix Sun Solaris
HTML, PDF, EXL2K
May 21, 2008, 01:19 PM
Darin LeeInteresting Roland. I tried this and it would not allow me to set up additional tasks that resulted in additional output. Would be interested in seeing how you set this up and your resulting output.
The RC user manual seems to be a little ambiguous on the subject. It states you cannot create report output that would result in more than one report to distribute, as ReportCaster can only accept a single answer set.
and also
You can only create multiple Tasks when using the e-mail or printer distribution methods.
Hmm. What Roland describes should work, then, for Bhavna by creating two reports, one in HTML and one in PDF with equivalent burst options and values.
Regards,
Darin
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
May 21, 2008, 07:59 PM
N.SelphDarin-
Are you looking at the current doc? You are describing limitations from before my current 7.1.3 version.
You can have multiple tasks in each schedule in
Report Caster. You can have each task in Report Caster generate a separate output. The output type is set up in each task. In the distribution tab, you can designate one of the outputs as the email message body. You can have all the rest zipped up or not as attachments.
This only works for email distribution. If the distribution is ftp or print, you can only have one output.
(Prod: WebFOCUS 7.7.03: Win 2008 & AIX hub/Servlet Mode; sub: AS/400 JDE; mostly Self Serve; DBs: Oracle, JDE, SQLServer; various output formats)
May 22, 2008, 10:50 AM
Darin LeeDoc version is 7.1.3 - copied straight from the manual
Regards,
Darin
In FOCUS since 1991
WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex
Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex
WF Client: 77 on Linux w/Tomcat
February 05, 2009, 03:07 PM
ColdWhiteMilkWas this ever figured out? I would love to find a way to bypass the limitation on email body length in report caster
Production - 7.6.4
Sandbox - 7.6.4
February 05, 2009, 03:18 PM
FrankDutchCold
Please open a new issue and explain a bit more what you want.
I have many report caster processes with several mixed attachments (pdf, excel, html) and /or personalized messages in the mail text box.
|
Frank |
| prod: WF 7.6.10 platform Windows, databases: msSQL2000, msSQL2005, RMS, Oracle, Sybase,IE7 test: WF 7.6.10 on the same platform and databases,IE7 |