Email using Bursting Engine

Hi,
Is there a way to rename the PDF file sent by email using the bursting engine to : {$TRX_NUMBER}.pdf ?
Thanks
Patrick

I have been able to rename the attached documents. After you've declared your DocumentProcessor (and before you call "process()"), you can add a listener (using registerListener(BurstingListener listener)). The listener must implement "BurstingListener" which has the following methods:
public void beforeProcess()
public void afterProcess()
public void beforeProcessRequest(int requestIndex)
public void afterProcessRequest(int requestIndex)
public void beforeProcessDocument(int requestIndex, int documentIndex)
public void afterProcessDocument(int requestIndex,int documentIndex, Vector documentOutputs)
public void beforeDocumentDelivery(int requestIndex, int documentIndex, String deliveryId)
public void afterDocumentDelivery(int requestIndex,int documentIndex, String deliveryId, Object deliveryObject, Vector attachments)
In "afterProcessDocument" you can look at "documentOutputs" which is a Vector of Strings containing the full path (including filename) of the attachments. In this method you can move the file (or copy it) to a filename of your choosing. Then you simply update the Vector with the new filename. And that's it! The renamed file is attached to the email.
Hope this helps.

Similar Messages

  • MICR font Using Bursting Engine

    Hi,
    Is the setup different to show the MICR font using the Bursting engine ? I tried placing the font file and xdo.cfg file in /$XDO_TOP (as per white paper) but that didn't work
    need some suggestions
    Thanks
    Patrick

    Hi Tim,
    We are calling the bursting engine from the after report trigger of the .rdf file.
    Here is the bursting engine's control file which is called by the java prog. :
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/APXPBFEG/LIST_G_CHECKS/G_CHECKS">
    <xapi:delivery>
    <xapi:print id="printer1" printer="http://spo-erp-cupsvm:631/printers/grande" copies="2" />
    <xapi:email server="smtp.itron.com" port="25" from="[email protected]" reply-to ="[email protected]">
    <xapi:message id="123" to="[email protected]" cc="[email protected]" attachment="true" subject="A Burst from oracle.">You got it? </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="/crp/app/crpcomn/itron/XML-APCheck-Domestic.rtf"></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    here the config file in $AF_JRE_TOP/jre/lib
    <config version="1.0.0" xmlns="http://xmlns.oracle.com/oxp/config/">
    <!-- Properties -->
    <properties>
    <!-- System level properties -->
    <!-- PDF compression -->
    <property name="pdf-compression">true</property>
    </properties>
    <!-- Font setting -->
    <fonts>
    <font family="GnuMICR" style="normal" weight="normal">
    <truetype path="/$AF_JRE_TOP/jre/lib/fonts/GnuMICR.ttf"/>
    </font>
    </fonts>
    </config>
    Thanks
    Patrick

  • Using the Bursting engine for scheduling the Reports

    Hi,
    Can we use the Bursting Engine for scheduling the reports? For example I want to run a report in a scheduled time and send the mail to destination. We can do these things in the XML Publisher console. But we need to find any other way to schedule a report.
    Thx,
    Vijay.

    I am looking for the same thing.
    I believe the APIs are entirely separate from the functionality in the BIP web application. So that there is no way to programmatically initiate the scheduling of a report/template already defined in the UI via a command line or API call. Is this accurate?
    I sort of expected the APIs to have functionality that exposed the features of the web application, as opposed to just exposing the base functionality/engine of BIP.

  • Bursting engine and email delivery

    Tim,
    Please could you tell me would the custom email solution that you are writing in the blog work with the bursting engine, so that you could generate multiple documents and send them to there specific email addresses.
    Thanks,
    Mark

    Hi Mark
    It would but the bursting engine offers a whole lot more ... Im putting together an article on the bursting engine ... will post soon.
    Tim

  • Naming of the PDF attachment when mailing from Bursting engine

    Hi,
    We have a xml publisher report for which we have implemented Bursting Engine to archive the and burst the PDF output.
    We have a requirement now to send the PDF output as attachment to external email ids(to suppliers).I am trying to test using e the below control file to send the PDFs as attachments but the name of the PDF attachment in the mail is numeric '3','6','9' etc...
    I would like to know how do we name the PDF output attachment of the bursting engine.
    -------------------------Burst Control File------------------------------------------
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XXX_XMLPUB_ARINV/LIST_G_INVOICES/G_INVOICES">
    <xapi:delivery>
    <xapi:email server="127.0.0.1"
    port="25"
    from="[email protected]"
    reply-to="[email protected]"
    >
    <xapi:message id="123"
    to="${PURCHASE_ORDER_NUM}"
    bcc=""[email protected]""
    attachment="true"
    subject="${TRX_NUMBER}"
    >
    <html><body>test</body></html>
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="${XMLPUB_RTF_TEMPLATE}" filter=".//G_INVOICES[PRINTING_COUNT='0']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Thanks,
    Krishnan
    Edited by: Krishnan-Apps on Dec 23, 2009 2:30 AM

    Hi,
    I seriously doubt your control file is a working one. Can you upload your working/correctly formatted file?
    Or check this working sample below. Hope this helps.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/">
         <xapi:delivery>
           <xapi:email server="xxmail.mail.com" port="25" from="[email protected]" reply-to ="[email protected]">
             <xapi:message id="${TRX_NUMBER}" to="[email protected]" cc="" bcc=""
              attachment="true" content-type="text/html" subject="${TRX_TYPE_NAME} Number ${TRX_NUMBER}">
           </xapi:message>
           </xapi:email>
         </xapi:delivery>
         <xapi:document output="Invoice_Number_${TRX_NUMBER}" output-type="pdf" delivery="${TRX_NUMBER}">
           <xapi:template type="rtf" location="xdo://AR.XXRAXINV_SEL.en.US/?getSource=true" filter="">
           </xapi:template>
         </xapi:document>
    </xapi:request>
    </xapi:requestset>regards,
    Rownald

  • How to filter using bursting?

    Hi everyone,
    I'm hoping someone can help me out. I want to use the bursting engine to format report data into a PDF file if the EXCEL parameter = 'No' and into a XLS file if EXCEL = 'Yes'.
    Here is a sample of my xml that I am trying to burst on:
    <NI_IND_GLRGNL>
    <LIST_G_PARAMATERS>
    <G_PARAMATERS>
    <EXCEL>Yes</EXCEL>
    <EMAIL>[email protected]</EMAIL>
    <CONC_REQUEST_ID>44574708</CONC_REQUEST_ID>
    <REPORT_TYPE>Line Item</REPORT_TYPE>
    <CURRENCY1>AUD</CURRENCY1>
    <BALANCE_TYPE>Actual</BALANCE_TYPE>
    <PERIOD_LOW>DEC-08</PERIOD_LOW>
    <PERIOD_HIGH>JAN-09</PERIOD_HIGH>
    <ACCOUNT_LOW>75-0000-10000-000-000-000000</ACCOUNT_LOW>
    <ACCOUNT_HIGH>75-0000-11000-000-000-000000</ACCOUNT_HIGH>
    </G_PARAMATERS>
    </LIST_G_PARAMATERS>
    </NI_IND_GLRGNL>
    My bursting file currently looks like this:
    <?xml version="1.0"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/NI_IND_GLRGNL/LIST_G_PARAMETERS/G_PARAMETERS">
    <xapi:delivery>
    <xapi:email server="localhost" port="25" from="[email protected]" reply-to ="">
    <xapi:message id="123" to="${EMAIL}" bcc="" content-type="text/html" attachment="true" subject="NI India General Ledger Report"></xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="NI_IND_GLRGNL_${CONC_REQUEST_ID}.pdf" output-type="pdf" delivery="123">
    <xapi:template type="rtf" location="xdo://NIGL.NI_IND_GLRGNL.en.US?getSource=true" filter="${EXCEL}='No'" />
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    This file sends me an email regardless of the value in the EXCEL tag. Can someone please tell me how to reference the value of the EXCEL tag properly in the filter?
    Thanks,
    Michael

    filter=".//G_PARAMETERS{Excel='Yes'}"
    Excel='Yes' should be in square bracket. I am not sure why I am unable to print this in brackets, so replace { bracket with square bracket [
    Edited by: SureshV on Apr 14, 2009 3:39 PM

  • Bursting Engine with custom WebDAV Delivery Manager Java Program

    I have developed A custom WebDAV delivery manager and need to call it when the using the bursting engine. Is there a sample that can show me where to palce the information. I have logged a tar but they asked me to post here to see about getting an example of a bursting control file that can solve my problem. I have created a bursting java program per the users guide chapter 10 and the chapter 11 plus the XMLP blogger for the delivery manager program.
    Thanks in advance,
    Joe

    At present , you can not access the splited XML Data from any of the event. but here is the workaround to reference the required information from XML data.
    Suppose you need Element1, Element2, Element2 elements information to push the file to WebDav.
    Reference these elements in the file name as variable and parse the resulting output file name in your Java Class. You can also rename the output file with appropriate name before push it to WebDav.
    <xapi:filesystem output="c:\burst\output\ACH Remittance #${C_CHECK_NUMBER}_${Element1}_${Element2}_${Element3}.pdf" />
    Example :
    <xapi:filesystem id="123222" output="d:\burst_test\${EMPNO}_${ENAME}_${MGR}_${EMAIL}" />
    The resulting Output file name would be like.. [email protected]
    Thanks.

  • Issue in Printing, using Bursting control file

    Hello All,
    We are using bursting control file to print and email. Email option is working fine. But when it comes to printing, it is printing "PDF file not printed. 128MB of memory is required to enable direct PDF printing" in the printout.
    We are using CUPS and below is the path we are using for printing,
    ipp://localhost:631/printers/YG_MAIN
    When we try to run the same program manually, by giving the printer name and number of copies to 1, then we are able to see the pdf output. Other normal bi publisher reports are also working fine, w.r.t that printer. We are facing this issue only when we are running xml bursting program, with print option.
    Any suggestions please..
    Here is the full bursting control file,
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/XX_IMB/LIST_G_PAT/G_PAT">
    <xapi:delivery>
    <xapi:email id="123" server="XXXXXX.com" port="25" from="[email protected]">
    <xapi:message id="123" to="${DESTINATION}" attachment="true" content-type = "text/html" subject="Test email"> Please find the attachement</xapi:message>
    </xapi:email>
    <xapi:print id="print1" printer="ipp://localhost:631/printers/${DESTINATION}" copies="1"/>
    </xapi:delivery>
    <xapi:document output-type="pdf" delivery="123">
    <xapi:template type="xsl-fo" location="xdo://XXCUS.XX_MAIN.en.US" filter=".//G_PAT[DESTINATION_TYPE='Email']">
    </xapi:template>
    </xapi:document>
    <xapi:document output-type="pdf" delivery="print1">
    <xapi:template type="xsl-fo" location="xdo://XXCUS.XX_MAIN.en.US" filter=".//G_PAT[DESTINATION_TYPE='Print']">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>

    BI Publisher bursting to CUPS printer doesn't use PASTA, so output doesn't get converted from PDF to Postscript which it does when you run it through concurrent manager.
    You can put an entry in the $XDO_TOP/resource/xdodelivery.cfg as follows (replace for your printer):
    <pre>
    <server name="MYPRINTER" type="ipp_printer" default="true">
    <uri>ipp://mycupsserver.mydomain:631/printers/MYPRINTER</uri>
    <filter>/usr/local/bin/pdf2ps -paper A4 {infile} {outfile}</filter>
    </server>
    </pre>
    Regards,
    Gareth

  • Can i  email invoice to multiple customers who has email with bursting

    Hi,
    I have a requirement that user will run range of invoices report thru Print invoice and email should be sent to only those customers which has email in customer profile and invoices related to only that customer.
    I have a XML publisher report developed already to send email thru bursting. now I can send all invoices as 1 single attachment. I need to send seperate attachments for each customer.
    Is this possible? if yes, can i get pointers.
    THanks
    Pallavi

    Hi Pallavi,
    Yes you can burst the xml file into chunks and send each piece to a particular customer. Add a Placeholder/formula column in the reports 6i and populate the filed with the email id from the customer profile(in a repeating group where you want to burst). And use that place holder/xml field in the bursting control file.
    <xapi:request
    select="/POXPRPOP2/LIST_G_INIT_INFO/G_INIT_INFO/LIST_G_HEADERS/G_HEADERS">
    <xapi:delivery>
    <xapi:email id ="123" server="xxx.xxx.com" port="25"
    from="${POH_FROM_EMAIL}" reply-to="${POH_EMAIL}">
    <xapi:message id="123" to="${POH_EMAIL}" cc="" attachment="true"
    content-type="text/html" subject="Purchase Order Number: ${POH_PO_NUM}">The attached electronic Purchase Order
    In this POH_EMAIL is placeholder/xml filed which will vary for each G_HEADERS group..

  • Not getting PO printed while using bursting pls help

    Hi All,
    Working on converting PO report to XML. While using bursting to print the pdf file the document is not sent to the printer..
    But in the output file of the "XML Publisher Report Bursting Program" getting success.
    Not sure why report output is not sent to the printer.
    Pls help......
    Thanks
    Rajesh
    Edited by: Badsha on Jun 17, 2010 2:19 AM

    Hi...Please check the Burst Control file with the printer & IP details.
    Look for the file below.
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:globalData location="stream">
    </xapi:globalData >
    <xapi:request select="/DATA/LIST_DEPT/DEPT/LIST_EMPLOYEE/EMPLOYEE">
    <xapi:delivery>
    <xapi:email server="${EMAIL_SERVER}" port="${EMAIL_PORT}"
    from="${FROM_EMAIL_ADDRESS}"
    reply-to ="${REPL_TO_ADDRESS}">
    <xapi:message id="email1" to="${TO_EMAIL_ADDRESS}" cc="${CC_EMAIL_ADDRESS}"
    attachment="true" content-type="html/text"
    subject="Employee Report for Empno ${EMPNO}">
    Dear ${ENAME}, Please review the attached document.</xapi:message>
    </xapi:email>
    <xapi:filesystem id="file1"
    output="C:\burst\sample\${EMPNO}_${ENAME}_${MGR}_PRINT.pdf"/>
    <xapi:print id="print1" printer="${PRINT_URL}" copies="2"
    orientation-requested="3" />
    </xapi:delivery>
    <xapi:document key="${EMPNO}"
    output-type="pdf" delivery="email1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='EMAIL']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="print1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='PRINT']" >
    </xapi:template>
    </xapi:document>
    <xapi:document key="${EMPNO}" output-type="pdf" delivery="file1">
    <xapi:template type="rtf" location="${TEMPLATE_LOC}"
    filter=".//EMPLOYEE[DEL_CHANNEL='FILE_SYSTEM']" >
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    check the printers setting as required....aslo check what printer you are using for pdf printing...Pasta Printing??
    Thanks
    Ratnesh

  • XML Publisher 5.6.1 Bursting Engine Issue

    We are patched to XML Publisher 5.6.1 in EBS. We have created a JCP to call the BURSTING ENGINE.
    The JCP is instantiating the DocumentProcessor class and calling the process method. However, it is generating a DELIVERY MANAGER (which makes me very CONFUSED) error saying:
    oracle.apps.xdo.batch.DeliveryHelper][EXCEPTION] oracle.apps.xdo.delivery.MissingRequiredPropertyException: Required property missing. Property name :[SMTP_TO_RECIPIENTS]
    at oracle.apps.xdo.delivery.AbstractDeliveryRequest.validateProperties(AbstractDeliveryRequest.java:1364)
    HAS ANYONE ENCOUNTERED THIS PROBLEM IN XML PUBLISHER 5.6.1? IS THIS A KNOWN PROBLEM? I JUST NEED TO KNOW IF THIS IS REALLY A 5.6.1 ISSUE (OR MY ISSUE) AND IF IT IS, THEN WE WILL UPGRADE TO 5.6.2 or 5.6.3?!?!?!
    Thanks!

    sounds like you are setting the to property in the wrong spot. Is the to set in the xapi: message id="123" to="[email protected]" ?

  • Sending E-mail from BI Publisher without using Bursting Option

    Hi All,
    “While clicking on Send Button and selecting E-mail as Delivery option in BI Publisher for a particular Report, we want that To, CC, BCC  and the Body part should get populated  with the Email id’s and Static text(for Body )  from database . We know that it can be done if we use the option of Bursting but we don’t want to use bursting . Is there any way (SQL Query or API’s) where we can achieve this option of populating the email id’s and body dynamically
    while clicking on the Send button on the BI Publisher Screen. Please Suggest.”

    Hi,
    Looking at the above link it seems thatit is for XML publisher in EBS rather than for a standalone BI publisher. Please let me know how to acheive the steps mentioned in the blog while working on standalone version BI publisher.
    Thanks
    Sunil

  • I took a photo using burst mode on my 5S and can't get the picture off my phone

    I took a  photo using burst mode on my iPhone 5S.  The "burst" consists of 4 photos, originally.  I have picked my favorite and deleted the others.  Still, I am unable to get that photo off of my phone using Photo Stream, or e-mail.
    Normally, my photos end up in Photo Stream and I can access them from my computer, but this photo that used to be part of a burst, and even while it WAS a burst, doesn't appear in my Photo Stream nor can I email it to myself.  I was able to eventually SMS the photo to a colleague who then emailed it back to me, so now it's on my computer but why can't I get that image off of my iPhone using my usual and straight-forward methods??
    I was able to pull it off using iPhoto so that works.  My burst only had 4 photos but like I said, I picked my favorite and deleted the rest and I could never e-mail it to myself or access it on my computer using Photo Stream.
    Thanks.

    This happens every single time a new camera comes out from one of the two big camera makers. Nikon and Canon do not send preproduction units to Adobe, so Adobe has to go out and buy a D750 or whatever from the store to test and profile it before they can update Lightroom. They can't get one earlier than you and I can. The profiling is quite an extensive operation. Other camera makers do send preproduction units, use dng, or do the profiling in-house and there you often get support right from release. If camera makers would finally embrace an open raw format such as dng, this whole problem would be gone but both Canon and Nikon seem to think they live in an upside-down world where their clients only use their software.
    Usually the dead period only lasts a few weeks but it is frustrating nevertheless. My only advice is to not buy a new camera at the day of release and expect to have third parties to support it. You definitely should not be buying these cameras right away if your business depends on it. Aperture, Capture One, etc. have the exact same problem. No third party (read non-Nikon in this case) will support the camera from the release date. Some are quicker than other adding support. Adobe is somewhere in the middle of the pack in this respect. Nobody outside of Adobe knows when an update comes out. Could be tomorrow, could be a few more weeks or a month. They might jump straight to Lightroom 6 and never add direct support to LR 5. Sometimes they will first bring out a beta version of dng converter that will convert the new camera's nef files to dng, which will work fine in the current Lightroom before updating Lightroom itself.

  • Bursting engine and barcodes

    Hi, does anybody knows how to have barcodes working with the bursting engine ? I have the xdo.cfg in $XDO_TOP, the standard XMLP output has got the barcodes but the bursted PDF do not. We are launching the bursting engine from the after report trigger.
    Thanks

    Well, if you confirm that this works in normal PDF output and not during Bursting, then we may have to investigate. I would request you to log a TAR in that case. What version of xdo are you using ?

  • Loss of sending email using WIFI

    As of this morning 8-20-08, after updating to 2.02, I no longer am able to send emails using my own wireless network. Previously this was no problem. Neither Fido or Apple have any idea of what I am talking about. Fido washed their hands as they do not support WIFI. How convenient, they sell the phone and charge for the service but do not support it. Videotron, my ISP, thinks the issue is my wireless router but I can send via gmail so that's out. I resovled the problem by configuring my accounts to use my gmail smtp server as a second option and now the spinning wheel is short lived and messages are sent.
    I'm sorry to say that I had fallen for all the hype about Apple but truth is they are but a Microsoft wannabe.
    Disinchanted

    So here's the wierd thing.
    I was having the same problems. Set up SMTP for Videotron when at home using relais.videotron.ca SMTP with no authenticationon port 25 & all was good in the world. However when I went out, bang. Nothing. Couldn't send a mail for love nor money.
    Thought aboutit & changed settings to use relais.videotron.ca SMTP, but this time using authentication of vltl** / password credentials with no SSL (Videotron doesn't use SSL) and again everything was fine. Of course, when I got home again, bang. Everything fell over & no more mail sending foe me!
    So I figure, when I'm at home I'm on my trusted network at port 25, I don't need authentication and all is good, but when I'm out i'm seen as potential SPAM by port 25 on videotron & get blocked.
    Tried using port 587 instead when for both home & mobile but had no luck either.
    Then a strange thing happened. I'd resolved to having to set up 2 SMTP servers on my iPhone & switching between the two based on where I was. Pain in the a**, but there's always a trade off for early adopter technology So I set up my primary SMTP to use port 25 with no authentication, and a secondary server to use the same relais.videotron.ca outgoing server, but this time WITH authentication using vltl** \ password credentials.
    After a walk to the shop when I'd been on my secondary SMTP server (successfully sending & recieving) I came home & inadvertantly forgot to swith back to my primary SMTP. Recieved a mail & then responded with no problem!
    Net result, I now have a permanently switced off primary server & a permanently switched on secondary server which uses relais.videotron.ca details with vltl** \ password authentication credentials active (like I did on my old silver iPhone) & all is good in the world, both at home & out mobile, both for sending & recieving!
    Will field test some more tomorrow but it may be a 2.0.2 bug where ther primary server details fcuk up whereas the secondary server details are stable.
    So long as it works, who cares!
    Jof

Maybe you are looking for