Report by email with whole report as body and attached file

Hello,
I try to send my Reports by mail and have to attach a file to the report.
But this filename is't a static one. Is there a work-around to attach a dynamic file to my e-mail.
Here is a part of my destination.xml file:
<foreach>
<mail id="DEST1" to="&amp;&lt;address&gt;" subject="&amp;&lt;subject&gt;">
<body srcType="report" format="html">
<include src="mainSection"/>
</body>
<attach srcType="file">
<include src="/coup_cache/&amp;&lt;filename&gt;"/>
</attach>
</mail>
</foreach>

Is it possible to create my own xml tag to solve this problem?
something like <myAttach file="xyz"/>
and something build up the necessary tag.
<attach srcType="file">
<include src="xyz"/>
</attach>
I don't know much about xml. I read something about xsl to do that?
Any ideas?
looking forward to read your hints
Avis

Similar Messages

  • Mail workflow with variable recipient, subject, body and attachment

    Here's what I'm trying to solve:
    I do some payroll processing with Direct Deposit. A PDF file is created for each person's check stub, which I then e-mail to the person. Right now I have Excel generate a mailto: link which addresses the messages, inserts the subject and a brief note in the body. I then manually attach the PDF file and send.
    I'd like to be able to have a single workflow that I can drop the PDF file onto and have it mailed to the intended recipient. The filename can be setup to include any necessary info as it is generated by a very extensive VB script in Excel.
    But I can't figure out getting the variable items in to Automator.
    Thanks for any insight.
    Tim

    I was able to find a commercial product that works very well. MaxBulk Mailer from Max Programming allows you to import a list of recipients, merge with personalized message and designate an attachment (just image types and PDFs, not all types work) and send.

  • Mail Notification with Custom Subject, Mail Body and PDF File Name

    I have successful configured the Action Profile to send SmartForm Mail as PDF. But i would like to modify the Subject, PDF File Name & add text to mail body when a mail is sent to the user.
    The Subject of the Mail is the same as the PDF file name. How to maintain a pre-defined file name for the PDF file.

    I was able to find a commercial product that works very well. MaxBulk Mailer from Max Programming allows you to import a list of recipients, merge with personalized message and designate an attachment (just image types and PDFs, not all types work) and send.

  • Sending email with HTML report through a button

    Hi,
    I've noticed in APEX 4 there is a default option (through Action Menu -> Download Formats: email) to send an email with report in HTML format...
    may I know how to accomplish it using a Button... seems like APEX is using javascript:gReport.email.show(); function to accomplish it but I don't know how to implement it...
    Please advice
    Thanks in advance

    qwe12654 wrote:
    GokhanAtil,
    I've posted a sample on APEX.ORACLE.COM... LOGIN DETAILS ARE SAME AS ABOVE...
    ON the page now I have both the SQL based report and interactive report...
    On the top right you may see 2 icons.. one for downloading report in PDF (using SQL Report as the source) and the second for sending email (using interactive report, similar logic as what you've recommended)...
    Is there a way I may be able to send report via email, using SQL report as the source (rather than interactive report)...?
    You can always use APEX_MAIL to send emails.
    http://download.oracle.com/docs/cd/E10513_01/doc/apirefs.310/e12855/apex_mail.htm
    or the alternative option would be:
    to convert all my SQL reports into interactive, would require a bit of efforts (I'll go with it if the above option is not available)... but would need to know how to download INTERACTIVE reports in PDF, excel and CSV formats using a button ... similar logic to what you've done for sending emails
    Thanks again for all your assistanceIt's very easy to make buttons for downloading the interactive reports in HTML, CSV or PDF.
    I have created a PDF button and put the link:
    http://apex.oracle.com/pls/apex/f?p=40418:11:1316531694094700:PDF
    "1316531694094700" is the value of p_instance. You can find it from HTML codes of your page:
    <input type="hidden" name="p_instance" value="1316531694094700" id="pInstance">
    You can change PDF to CSV or HTMLD (so your visitor download the report in CSV or HTML)
    Best Regards,
    Gokhan
    If this question is answered, please mark appropriate posts as correct/helpful and the thread as closed. Thanks

  • Aborting a report or suppress the whole report

    Is there any way I can abort a report, or suppress the whole report, depending on some condition detected during processing? Preferably with a message, but that's not essential.
    Several of my reports can only be run for the user launching the report, but I also want to allow 'proxies' to run the report - ie users who can run the report for one or more other users - and superusers who can run it for anyone. The reports are called from VB/NET but I have no control over the calling software except for parameters and the record selection text.
    I have a simple 'proxy' table which defines both the proxies and the superusers. I can check this in a subreport but that fires after the main query, so I'm stymied. If I could abort or suppress the report at that stage, I could prevent unauthorised users accessing the report.
    I could conditionally suppress all the sections, but this means putting a condition on each section, which would be a pain (these are complex reports, sometimes very complex, with subreports).
    I could probably also use a SQL query but I'd rather avoid that complexity too.
    I'm using CR10.
    Any ideas?
    Andrew

    Raman Sharma wrote:>
    > There is no way, you can abort the report, but you can however suppress a subreport conditionally. May be you can try to go subreport way and see if that helps you.
    As I indicated in my original post, I'm trying to find some relatively simple way to suppress most or all of the main report as a result of running a subreport.
    I can't put the main report in a subreport because the main report already has subreports, in some cases 20 or more.
    I could suppress the main report sections on the basis of a shared variable, but this is a messy solution in my mind.
    I could bomb the report by forcing an error in the subreport (eg div by zero), but the result would be confusing for users. If I could define the error message this would be OK, but apparently that's not possible either.
    It appears you may have answered the question, ie that there's not easy way to do this.

  • Sending emails with both body and attachment to multiple recipients

    I have a requirement to send email with body and attachment to multiple recipients.
    Body of the email is a standard text. It is a proxy-to-mail scenario.
    Here is what I've done: (I'm using PI 7.11)
    One mapping from Source to Target structure (format of the attachment text file)
    Second mapping from Target Structure to Mail Package format.
    In the second mapping I'm concatenating the output of first step into "Content" of the Mail Package.
    "XIPAYLOAD" is the message protocol used.
    The "Keep attachments" option in the Mail adapter allows only to send "Content" as attachment or as body of the email.
    How to send an email with both content and text?
    The other problem is even with using ASMA, I can't send email to multiple recipients. I can only do CC and TO for 1 person each - a total of 2. Although I can resolve this by creating mailing lists, it is better if this can be addressed in PI.
    Thanks for any input you can provide!
    Edited by: crazylad on Jan 18, 2012 3:39 PM

    Thank you for your response Mikael.
    For the first question, I was able to find the solution in the following blog:
    XI Mail Adapter : Dynamically building attachment and message body content using a simple UDF
    (I just needed to search with the right set of key words )
    The key is to set the "Content Encoding" as "None" in the mail adapter. If this is not done, the mail will be sent with an attachment - untitled.bin containing both the mail body and the attachment text. Also, don't forget to check the "Keep Attachments" checkbox in the mail adapter.
    Multiple recipients could be added by separating the email IDs with a Comma. I have used ASMA to set the recipients.

  • Body and Attachment both in a mail

    Hi,
    I am working to send a mail from XI. My present scenarion is like this: I am using xslt mapping to generate code for a html page using source and using dumy target. Now I am using module adapter "localejbs/AF_Modules/MessageTransformBean" for getting attachments. I am able to get the attachment if i check "Keep Attachment" check box or else I am able to see the html pagein body of mail.
    Here I am getting either body or attchment. Is there any way to get both body and attachment?
    Thanks.

    I am not using any adapter module method,
    I am trying to use these statements:
    <b>3.2.4 Sending a Mail with Attachment</b>
    If you want to send a mail with a body and attachment, or with several attachments, the
    message sender has to provide an XI message with additional attachments. For each
    additional payload of the XI message, the mail adapter creates an attachment for the
    mail. To enable this feature, you select the Keep Attachments checkbox when
    configuring the mail adapter. By default, the payload of the message is also sent as an
    -8-
    attachment. If you do not want the payload to be sent as an attachment, set
    ContentDisposition to inline.
    If you want to give each attachment a certain name, you can use the swap module. The
    swap module changes the main payload.
    -- This is not talking about any methods to be implemented.
    Thanks,

  • Is a update going to be added to attachment document to emails via yahoo (i.e. reply and attachment to emails)

    Is a update going to be added, which will allow me to attach documents to emails via yahoo (i.e. reply and attachment to emails)

    Is a update going to be added, which will allow me to attach documents to emails via yahoo (i.e. reply and attachment to emails)

  • FDM Send Email with a Report attachment

    Hi All,
    I'm currently trying to roll out a form of "Lights - Off " automation in for HFM version 9.3.3 , by using the FDM Task Manager to schedule loading information from my organisation's source system JDE.
    The final element of that automation from our perspective is to have an alert email from FDM to certain users once the 4 - Fish process is complete.
    This has worked successfully using 'Send Mail' from Accelerators, however what would be even more useful is to be able to either attach Process/Check Reports.
    I am only a beginner in VB but am willing to take steps if someone can point me in the right direction of either adding the report in the body of the email or as an attachment. I saw a great example of an email alert from Tony Scalese on the attached link
    http://www.fdmguru.com/enabling-lights-out-automation/
    Any help would be much appreciated.
    Cheers
    Pip

    I assume your familiar with the 'Send Mail' Accelerator script so i won't go into that part of it.
    As mentioned previously I opted to attach the source file and save reports on a shared drive. Therefore from the selected script below you can modify to your needs.
    Firstly I published a report (using the Report Publishing accelerator) to a specific location with a variable name (as shown in my example below) or you can give it a specific name so each time it's run it will overwrite the previously run report.
    Publish Report*
    Dim objReport
    Dim lngReportID
    Dim lngPublishType
    Dim strPublishPath
    'Initialize Variables
    lngReportID = 87          'Check Report +(You need to check the report properties for this number)+
    lngPublishType = 31          'PDF
    strPublishPath = "C:\Temp\Validation Report_"&API.POVMgr.PPOVLocation&"_"& API.POVMgr.PPOVCategory &"_"& API.POVMgr.PPOVPeriod &"_"& FormatDateTime(Date,1)&"_"&retv&".pdf"
    'Create the Report object
    Set objReport = CreateObject("upsWReportingDM.clsReportPublisher")
    objReport.mInitialize API
    'Publish the Report
    objReport.mReportPublishToFile CLng(lngReportID), CStr(strPublishPath), CLng(lngPublishType)
    'Destroy the objects
    Set objReport = Nothing
    To attach this to your email :
    .AddAttachment strPublishPath
    This should get you on your way, let me know if you encounter any issues. Also as a newbie I'd appreciate it if you can tag if this message was correct or helpful.
    Cheers
    Pips

  • How to send a conditional email with interactive report subscription

    Hi,
    i have an interactive report with subscription.
    I would like to send an email with the attachment only when the query returns one or more records.
    How to to this?
    Apex 4.0.2
    Thanks in advance
    lukx

    Well, to understand your requirements can I ask this:
    You said earlier you want a report sent whenever records that meet a criteria exist, correct? So you want the application to query for a condition, and when that condition occurs (a row with primary Key = X, a select COUNT(1) for rows with column X returns a result of 1 or more)
    Then you would schedule a batch job:
    BEGIN
    -- Job defined entirely by the CREATE JOB procedure.
    DBMS_SCHEDULER.create_job (
    job_name => 'Send_Email_Procedure',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN Test_For_COND_SEND(); END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'freq=hourly; byminute=0',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    END;
    This would in theory run hourly and run your test_for_cond_Send process, in which you would test for the condition and send an e-mail if it was found that would contain the results from your query/report.
    Here is a link to generate a PDF report that could be sent via e-mail: Re: how to save pdf in APEX 3.0
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Report multiple failures with TestStand reporting

    I'm pretty new to TestStand so please bear with me. I'm using LabView to test a connector on a digital interface board. So I'm reading and writing dig. signals on say 15 pins in a test. I'm using TestStand to run my VI's. When a test fails TestStand seems to only report one measurement at a time. I want all of the pins that failed to show up in the TestStand report in a format like :
    InputPin:A1 OutputPin:B1 Expected:0 Read:1
    InputPin:a2 outpuPIn:b1 expected:1 read:0
    I tried using the ReportText section of the TestData Cluster but I couldn't format it properly. All of the data sort of runs into each other like this
    input:a1 output:b1 expect:0 read:1 input:a2 output:b2
    the carriage returns I tried to put in were i
    gnored.
    Does anybody know how I can report a lot of failures in one report. I hope I explained properly.Thanks

    Hi,
    Find attached an example using the MultipleNumericLimitTest step type.
    All it does is use the array found in Locals call Digital as the DataSource for the Limits. You can check this by selecting the step and doing a right mouse click - select Edit Limits. Then select the Data source Tab. I have add 16 Measurements, one for each of the array elements.
    This will give a you a result of each element of the array in the report for that step. But by default it will look like:
    Measurement[0] (Measurement 0):
    Limits:
    Low: 0b1
    Comparison Type: EQ (==)
    Data: 0b0
    Status: Failed
    To get the format you require will mean modifying the report sequence file.
    Hope this helps a bit
    Regards
    Ray
    Farmer
    Regards
    Ray Farmer
    Attachments:
    Sequence_File1.seq ‏26 KB

  • REPORT GETS HUNG WITH THE REPORT QUEUE SHOWING THE STATUS OF OPENING

    I have installed Oracle 9ids on windows 2000 platform. This installation is part of the oracle clinical installation process.
    The installation went on fine except few problems during generating reports. I am able to generate report but as soon as any one of the report fails it stops all the subsequent reports . The failing report has the status of "Opening" in the report queue manager whereas all the subsequent reports get stuck with the status of "Firing before trigger" status in the report queue manager.
    Has anybody encountered the same problem or anything similar... if so, pls hlp...
    Regards,
    Venus

    I tried this Gill, but result is bit different :-
    Seems some little modifications are needed. Report should be displayed like the below one where it says how many times the same Task is associated with the same incident. Eg. Task 'TASK_CIRCUIT_RESOLVER' is associated with the incident 'INC000000001434' 4 times. 'IPCG Diagnostic Template' is associated with  'INC000000000943' 2 times. Similarly for other records.
    But I really thankful to you for giving me the logic proceed further. I tried  '=RunningCount([Task Name]; Row; ([Task Name]; [Incident ID]))'. It gave me desired results. :-
    But the only thing that needs to be done is to bring the single Task associated with the Incident..
    Thanks,
    Neha Pateria

  • Using Crystal Reports 2008 SP3 with the Brother 9500PC, 9700PC, and P9800PC

    We have using Crystal Reports with the Brother Label printers for years until we were forced to use Crystal 2008.  The label printers have worked in the past and we usually create a label template in the printer driver and this configuration is stored in the Crystal Report.  These label printers can use several different size cartridges.  When creating a report using the Editor, the report displays and prints correctly using the template embedded into the report.  This is using the updated SP3.3 service pack.  The problem is in the Run Time application that is embedded in another application to run the reports.  When printing a label from the application, the report previews just fine with the correct size and format.  However, when you try to print the label, the run time driver ignores the template embedded in the report and instead uses the default settings for the printer driver.  So, if I have a 1 inch cartridge in the printer, and the default settings for the printer is a 1 1/2 inch cartridge, then the report will try to print assuming there is a 1 1/2 inch cartridge which will cause the application to fail.  This is a problem with Crystal 2008 (12) and we would like to find a solution to this.  Thanks, Doug

    Hi Cameron, 
    You can setup custom label sizes in Crystal.  In the folder where you installed Crystal Reports is a text file called Labels_en.txt.  This contains the label definition Crystal uses.  You can add a new label in here. 
    Now when you open Crystal and create a new report by selecting the Mailing Label Repotr Wizard, you will see your new label when you get to that step. 
    When save a report, the report will do two things.  If you have set the report to a specific printer, Crystal saves the printer and paper settings inside the RPT.  When the print engine runs the report, if it can't find the printer saved in the report it will default to the default printer. 
    What I believe is happening is the application is loading the report and because it can't find the label printer it was designed with it's going to the default printer.  So you do have to set the PrintReportOptions in your application to redirect the report to the correct printer, driver and papersize. 
    This has pretty much been the way since version 4 that I can remember.  The positive side is you don't have to set all the parameters yourself.  You can get the PrintReportOptions from the report when you open it.  Then you just need to pass the printer name, driver and port.  The rest of the options (papersize) will already be populated from the Get. 
    Good luck,
    Brian

  • Reporting cell comments with Financial Reporting

    Hi all,
    Is there anyway to report comments attached to cells in "Planning data forms" with Financial reporting? Which function should I be using to do that?
    I am using the 11.1.2.2 version.
    Thanks.

    I believe the functionality is <<CellText("GridName", Row, Column, Page)>> whcih retrieves planning cell comments.
    The full FR studio guide is here: http://docs.oracle.com/cd/E17236_01/epm.1112/fr_user_epm/frameset.htm?launch.html search for celltext and it will give you more detail.
    Edited by: Agnete on Aug 28, 2012 9:44 AM

  • I'm trying to report a problem with a order i place and paid for but didn't recieve how do I do it?

    I'm having troble reporting a problem with something I ordered from the itunes Store. Please help?

    You can try the 'report a problem' page to contact iTunes Support : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

Maybe you are looking for