|
|
Re: Bursting and Distributing a Report Error [message #421694 is a reply to message #421559] |
Wed, 09 September 2009 20:58 |
sirfkashif
Messages: 70 Registered: September 2007 Location: Rawalpindi
|
Member |
|
|
Thanks for reply
distribution.dtd exist in Oracle_Home/reports/dtd folder on Application Server but i don't know where /d:/orawin90 came from.
My Report is attached.
And Distribution.xml is mentioned Below
<destinations>
<!-- Generate a file for each warehouse -->
<foreach>
<file id="MyFiles" name="Oracle_Home/Reports/Rep_&<city>.pdf" format="pdf" instance="this">
<include src="report"/>
</file>
</foreach>
<!-- Send a mail with an attachment for each warehouse -->
<mail id="ex1"
to="kashif.ali786@hotmail.com"
from="kashif.ali786@hotmail.com"
subject="This mail contains one attachemnt per city">
<body srcType="text">
This is the body of the message.
</body>
<foreach>
<attach format="pdf" name="report_&<city>.pdf" srcType="report" instance="this">
<include src="mainSection"/>
</attach>
</foreach>
</mail>
<!-- Send a mail for each warehouse with the corresponding file attaceed-->
<foreach>
<mail id="ex2"
to="kashifali.786@hotmail.com"
from="kashifali.786@hotmail.com"
subject="This mail contains the files for &<city>">
<body srcType="text">
This is the body of the message.
</body>
<attach format="pdf" name="report_&<city>.pdf" srcType="report" instance="this">
<include src="mainSection"/>
</attach>
</mail>
</foreach>
</destinations>
Regards,
Kashif
|
|
|
|
|