Download to email in interactive reports returns same sender as recipient

Hello everyone
I just upgraded to Apex 4 and is very happy with it, and I love the feature to download and send by email option in interactive reports, which makes life a little bit easier. However, when I send the mail, I get the same sender e-mail, as the recipient I entered.
So when the mail with report arrives it says
from: [email protected]
to: [email protected]
Instead of
from: [email protected]
to: [email protected]
This is no dealbreaker, but it can confuse the customer that requested the report and think it might be something fishy with the attachment, thinking it's something bad like a virus.
Is there any way to change this? Cannot find anything in the settings to change this.
Sincerely
Johnny
Edited by: Johnny_Johnny on Aug 4, 2010 2:02 AM
Spelling error in recipient :)

Getting the same problem. Anyone found a solution or is this a bug

Similar Messages

  • 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.

  • Download/print problems with Interactive Reports on 10g

    Running APEX 3.1.1.00.9 on Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production with BI Publisher
    When downloading Interactive report using xls/rtf - no data is shown, pdf - corrupted file error is shown. This seems to only happen with row counts over 20. Same tables with less rows populates fine with all file types.
    This problem does not exist using the APEX.oracle.com site, same tables. Is this due to the DB version?

    For addional info, I'm putting down major steps that I followed so that it can be confirmed for any missing links. Sorry for a little bigger post
    1) $ORACLE_HOME\bin\rwserver.exe -install myRepSrv
    2) Created a report in the reports builder, saved as .rdf
    3) In Forms builder, attached the report as a new report object.
    4) In a procedure to call the report, following code is written
    ----------8<---------------
    repid := find_report_object('testreport');
    set_Report_object_property(repid,report_filename,'testreport');
    set_report_object_property(repid,report_COMM_MODE,synchronous);
    set_report_object_property(repid,report_server,'myRepSrv');
    v_rep_jobid := RUN_REPORT_OBJECT(repid);
    v_rep_stat := report_object_status(v_rep_jobid);
    IF v_rep_stat = 'FINISHED' THEN
    web.show_document('/reports/rwservlet/getjobid'||substr(v_rep,length('myRepSrv')+2,LENGTH(V_REP))||'?server=myrepsrv','_blank');
    else
    message (v_rep_stat||'- Report output aborted '||sqlerrm);
    END IF;
    ----------8<---------------
    5) Compiled the form and placed the form binary in approprite folder
    6) modified $ORACLE_HOME\reports\conf\myRepSrv.conf. Changed the property of engine tag(sourceDir) to correctly point to the appropriate directory where the report has been saved
    7) modified rwservlet.properties to turn off SSO
    8) Started the external reports service with modified values
    9) Invoked the form to launch the report
    Please also note that if I invoke directly web.show_document and paste the hardcoded path, as can be expected, my work is done. But as can be agreed, this is not a very good approach.
    Thanks and regards,
    Kinjal Sonpal

  • Is possible to save the user that uses the download action in an interactive report.

    Hi,
    In my application I want to save who is downloading the interactive reports information in any format, is it possible?
    Regards

    Hi Eva,
    As far as I know there is not an out of the box option that shows you the user that is downloading the interactive report. I guess you would have to write your own logic for that.
    You can create your own logging table and a dynamic action with
    1) a pl/sql procedure to insert the logging into the table, and
    2) submits the page with the appropriate download format, eg. f?p=&APP_ID.:&APP_PAGE_ID.:&SESSION_ID.:CSV::::
    As trigger of the dynamic action you need to use either of the download buttons, so I'd suggest the jQuery selector "#apexir_dl*"
    Kind regards,
    Vincent

  • Download CSV-File from Interactive Report

    Dear all,
    I want to download a CSV-File from a Interactive report.
    The content of the Rows in Excel:
    Erste,"B","C","D","E","F","G","H","I","J","K","L","M","N","O","P"
    IBC ->,"-","1","2","3","4","5","6","7","8","9","10","11","12","13","14" [...]
    How can I solve this problem?
    Thanks for help.

    Your CSV-File use "comma" as separator. But Excel think, that CSV-File separator is "semicolon".
    Try to set "CSV Separator"=";" in section "Report Attributes" - "Download".

  • Download Customization in Apex Interactive Report

    Hi All,
    I am using Apex 3.2.
    I have some requirement, for the download the interactive data into xl sheet we can go to action menu and download the report. But in the report there is one edit link ,I dont want down load edit link data. How to avoid this edit link data.
    Thanks,
    pnr
    Edited by: pnr on Mar 28, 2011 5:59 AM

    Hello Tony,
    Your suggestion on the other thread is interesting and will be helpful on some other reporting I am doing. However, I am still running into an issue. I am unable to get the 2nd interactive report query below 114 columns since I have to keep those fields together so they can look at those fields when they make computations.
    I never did say 100 + columns is "Always" needed. However, it is still a needed feature in my opinion. I been using APEX for 2 years. This is the first time I needed this many columns. I am currently working with Institutional Advancement, which by next month will want to have over 200 columns available to them since not only will they be looking at constituents but, they will want to look at corporations as well. Discover isn't an option at this time.
    "Maybe someone can build an ad-hoc report builder for APEX applications that can be attached to applications? We have such items in Oracle Forms application I maintain now.."
    That would be delightful...
    Regards,
    Kelly

  • Access download link in an Interactive Report

    I've built an interactive report and one of the columns, File, is a download link. I assume the I can create a trigger to log when/who clicks on that link, because I have a trigger that runs when they first upload a file to the table that automatically grabs the SYSDATE and APP_USER. However, I don't know how to reference the download link. With the upload it is simply a button click, but the link is within the report and I can't seem to figure out how to interact with it. Any help would be appreciated.

    Hi,
    I think you can not use database trigger when someone select from table.
    I would create e.g. application process that handle loging and then "download" file.
    This might help you create code
    http://docs.oracle.com/cd/E14373_01/appdev.32/e13363/up_dn_files.htm#CIHDDJGF
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • Interactive Report Returns Misleading Data Because of ROWNUM Limit

    Hi, We have been relying on widespread use of Interactive Reports for internal Business Intelligence in our company, and they have been very popular. However, a user found a data discrepancy when sorting a report because the ROWNUM limit of :APXWS_MAX_ROW_CNT is applied before the user requested ORDER BY clause. We are running Apex version 3.2.0.00.27 on a 10.2.0.4 database.
    The IR query returns quotes from our custom quoting application, and the default number of rows is 100 (and is changeable by the user). The user wanted to see the most recent quotes, so he selected the "Creation Date" column header and simply applied a descending filter. The most recent quote returned was dated last week. However, if he applied an additional filter of "creation date in the last week", he did see today's date and mostly current quote rows.
    When I ran debug on his IR query, I can see that the ROWNUM limit is applied first, then the ORDER BY. This means that the database fetches the first x rows that match the supplied parameters, and then orders the result set. However, this is not what the user meant, he wanted the first rows of an ordered set.
    Here's the debug query output (with the middle removed because it's long):
    select
           "QUOTE_NUMBER",
           "CUSTOMER",
           "CUST_CONTACT",
           "QUOTE_STATUS",
           "TOTAL_PRICE",
           "TOTAL_WEIGHT",
           "WHSE",
           "SHIP_DATE",
           "PO_NUMBER",
           "ORACLE_REFERENCE",
           "INSIDE_SALESREP",
           "OUTSIDE_SALESREP",
           "CREATION_DATE",
           "ID",
           "ORA_CUST_ID",
           "CUST_CONTACT_ID",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    SELECT
      kh.id,
      kh.ora_cust_id,
      kh.quote_number quote_number ,
      kh.cust_contact_id,
      k2_customers_pkg.get_contact(cust_contact_id) cust_contact ,
      k2_customers_pkg.get_cust_name(kh.ora_cust_id)customer,
      k2_customers_pkg.get_cust_number(ora_cust_id)
    ( ......... more sql goes here )
    AND k2_customers_pkg.get_outside_salesrep_number(kh.ora_site_id)||'%' LIKE :P64_OUTSIDE_SALES||'%'
    AND kh.whse_code like :P64_WAREHOUSES||'%'
    AND ((1=
        CASE WHEN :P64_ITEM_ID IS NULL THEN
            1
        ELSE
            (SELECT 1
               FROM k2_quote_lines kl
               JOIN k2_ingredients ki
                 ON ki.quote_line_id=kl.id
              WHERE (1=1
                AND kh.id=kl.quote_id
                AND ki.ora_item_id=:P64_ITEM_ID AND ROWNUM=1))
        END)
        OR 1=(
            SELECT 1 FROM k2_quote_lines kl WHERE kl.quote_id=kh.id AND kl.part_id=:P64_ITEM_ID AND ROWNUM=1
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by "CREATION_DATE" DESC,"QUOTE_NUMBER" DESCHowever, what the user wanted is to have the ORDER BY applied first, then the limit. I realize performance may suffer, but users are now alarmed that they cannot trust these reports. I'm tempted to log a SR with Oracle on this.
    Any thoughts on this? Is this fixed in 4.0?
    Thank you, Wolf Moritz

    Hi, thanks for the response. I did spend a bit of time on trying to trick the interactive report into reversing the rownum and order by clauses. But ultimately I didn't see how to do it. Whatever query I paste into the source of the report is then wrapped in a couple of containing select statements which first applies the rownum limit and then the order by clause (if the user selects any columns to sort by).
    So this query:
    select * from scott.empBecomes:
    select
           "EMPNO",
           "ENAME",
           "JOB",
           "MGR",
           "HIREDATE",
           "SAL",
           "COMM",
           "DEPTNO",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select * from scott.emp
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    pAnd a user applied sort becomes:
    select
           "EMPNO",
           "ENAME",
           "JOB",
           "MGR",
           "HIREDATE",
           "SAL",
           "COMM",
           "DEPTNO",
           count(*) over () as apxws_row_cnt
    from (
    select  *  from (
    select * from scott.emp
    )  r
    ) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
    order by "DEPTNO" DESCIf I could somehow bind to some item for the order by string I might then be able to trick the report into ordering the result set first (which I know can't really be done unless using dynamic sql). Forcing an initial hard coded order by isn't practical on this particular report, although I do see why that might work in some circumstances.
    Side note on the oddly placed case statement: This interactive report has some page level "meta" parameter items, and that case statement was meant as a way to avoid an exists statement on a particularly large table if no value was submitted for P64_ITEM_ID. It's been a long time since we deployed the report, so it's probably worth testing some explain/autotrace plans on this case statement vs an exists statement in the predicate. But for now it works!
    Thanks, Wolf

  • Characterset of atachment in subscription email for interactive report

    Hi,
    I really like the subscription option on interactive reports. However we have an issue with the attachment.
    In the attachment it says : <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    But that leaves me with � characters where an ë should be. If I override the character encoding setting of my browser I do get the right characters.
    I suspect the characterencoding is WE8MSWIN1252 wich is my database characterset.
    What setting must I change to either have the attachment be really encoded in utf8 or have an alternative charset setting in the html.
    We are using Oracle 11g and Apex 4.0.1
    Thanks,
    Neil

    Sorry for the type (see above ;) ),
    There is no way to change the characterset used by APEX, at least none that would be configurable in APEX.
    In both FF 3.6 and IE 7 I get proper characters when downloading the HTML, but improper encoding in the mail attached report.
    When looking into the source (raw hex, so there's definetly no editor-awareness of any charset), I see proper encoding in the HTML Download, but no encoding in the HTML-attachment, which results in the improper display in the browser. However, when I let my webmailer view the attachment, everything looks fine. I assume, the problem is related to mail encoding. I wonder how my webmailer was abled to fix that, but not fix the file I downloaded...
    -Udo

  • Interactive Report Download and Session State Protection

    I have created an Interactive Report in an APEX application that I have enabled
    session state protection for. The issue I am having is with the "Download"
    functionality of the interactive report to a .csv file.
    The URL created by selecting Download from the drop down (javascript:gReport.controls.download();)
    is built or constructed without a checksum thus causing the error below.
    Error
    No checksum was provided to show processing for a page that
    requires a checksum when one or more request, clear cache, or argument
    values are passed as parameters.
    The anchor tag containing the URL (/f?p=app_id:page:session_id:CSV:) is contained within
    &lt;div id="apexir_CONTROL_PANEL_DROP" class="drop_panel
    clearfix" style=""&gt;
    Running the following: Application Express 3.1.0.00.32 on Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
    Is there a way to add a checksum to this? OR does anyone have any ideas on how to work around this?
    Edited by: Bryce Tuohy on Feb 26, 2009 10:08 AM

    WORKAROUND:
    1.) Create hidden ITEM on page (I named it P23_PREPARED_CSV_DOWNLOAD_URL).
    Enter the following for the ITEM
    as the SOURCE_TYPE : PL/SQL Function Body
    as the SOURCE: return apex_util.prepare_url('f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:CSV:')
    2.) Create BUTTON that executes javascript to open POPUP window with this url.
    a.) Create Button and enter
    &lt;a href="javascript:popupURL('&P23_PREPARED_CSV_DOWNLOAD_URL.')"&gt;Download and Save to CSV file&lt;/a&gt;as the "Text Label/Alt"
    Originally had custom code for javascript POPUP and this is not needed .... just use the APEX javascript function.
    Edited by: Bryce Tuohy on Mar 5, 2009 10:47 AM

  • Interactive Report - Download as csv

    Hi,
    I am using apex 4.0.2.00.07 on IE8 with theme Traditional Blue. I have a problem with the inbuild download functionality of an interactive report. One field is of type varchar2 and I allow line breaks in the underlying edit screen.
    I simply do not find a way to handle this formatting in the export to csv. The data is always completely shredded. An example:
    Input form:
    Name (text field):
    Bob
    Address (text area):
    Street(<linebreak>)
    City
    IReport SQL: select NAME, ADDRESS from USERS
    In the IR form it will show as
    Name || Address
    Bob || Street City
    An export to csv will make this to
    Name,"Address"
    Bob,"Street
    City"
    I have tried all settings of the report attribute 'Display Type' for field Address, but it will always be the same in the IR and always the same in the export. How do I ensure that the whole content of a table field is displayed as one value in the csv, with no regards to potentially present field formatting, e.g. in my case:
    Name,"Address"
    Bob,"Street City"
    And if we are already at it: I have seen that some plugins for an export to excel exist. Would that recognise the formatted text and place it in one cell or would I face the same issue here, i.e. the field value being split over several cells?
    Thanks a lot,
    Martin

    Well, found some answers after some more trial and error.
    1.) Country settings messed up my csv format. After changing the default column separator in the report attributes, things now look as expected.
    2.) One can rather easily suppress the format signs by using the sql replace functionality, e.g.
    SELECT REPLACE (my_column, CHR(10),' ') FROM my_table
    And it is actually quite a difference if you use text area or rich text fields when it comes to the usage of the breaks.
    Cheers,
    Martin

  • Emailing Interactive Reports

    All,
    When emailing an interactive report, I was under the impression that the resultimg email would be a functioning IR.
    I just tried and the resulting email (opened with IE7.0) has a search box above the data, but nothing else.
    Please advise,
    Monty

    Just re-ran my test case with an IR Report, you are given a search capacity and nothing else... Maybe that is in a coming version, but right now it seems we have what we have...
    Maybe you could instead e-mail a link to your users of the IR page and allow them to process that way??
    Thank you,
    Tony Miller
    Webster, TX
    A lady came up to me on the street, pointed at my suede jacket and said "Do you know a cow was murdered to make that jacket?"
    "I didn't know there were any witnesses", I replied " Now I'll have to kill you too"

  • 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

  • Substitution for DB link in Interactive report

    Hi,
    Is it possible to use substitution strings for DB link in Interactive report in same way like it works in Classic reports (by choosing Generic column) or in any other way.
    Currently when i'm trying to put SQL like :
    select empno, empname from emp@&DB_LINK.
    I receiving the error •Query cannot be parsed, please check the syntax of your query. (ORA-02019: connection description for remote database not found)
    APEX 4.1, Oracle 11.2

    It is possible. We have an application that uses the same code set (pages) where the user can select which target instance will be used at run time.
    The trick is that the DB link substitution variable must contain the "@" character. So your query looks like:
    select ...
    from my_table&TARGET.
    where...
    &TARGET. must be something like "@my_database" .
    At compile time, &TARGET. will be null, and the table name can be resolved, if there really is a table, my_table in your parsing schema, or a vaild synonym.
    You can have a synonym available at "compile" time, when you save the page source. For example, the synonym my_table equates to my_table@your_database, which has to exist.
    There several other things that must be done, but this should get you started.

  • Interactive Report Pagination and count

    Hello,
    I have two situations I am hoping someone could help me with.
    Problem 1
    I am using interactive reports in APEX 3.2.1 and I have reports with rows >= 6000. currently pagination on reports is set to:
    X to Y of Z
    such that when the report is rendered it looks something like 1 - 15 of 6203 >.
    Is it possible to add 'objects' or 'buttons' that allow me to navigate directly to the last row or/first row e.g
    |<< < 1 - 15 of 6203 > >>|
    such that |<< or >>| navigates to the very end row while < or > navigates to the next set or rows? would this be javascript? if so, does anyone have code for it? unfortunately not only am I new to APEX, I am a novice at javascript as well.
    Problem 2
    Is it possible to have APEX interactive reports return a distinct count on fields that are not unique? All counts are equating to the count of the unique ID and has had me pulling my hair
    Any help is most welcome,
    Mufudzi

    Hi Mike,
    I have not managed to get 'Distinct count' to work. Unfortunately, the project I am working on for this neither has the time or budget to investigate further but hopefully I will be able to get a solution from someone as a "nice-to-know".
    Regarding the first problem I posted on, managed to come up with a solution using some html. Basically I created two html scripts (one above the report and the other below the pagination buttons at the bottom of the report)
    - for the top of report html I used the following code:
    +<td nowrap class="t13RegionBody"><>a href="#endofpage"<>End of Page</a></td>+
    +<td bgcolor="#EEEEEE" nowrap><a name="topofpage"><font color="#EEEEEE">Top of Page</font></a></td>+
    and called the script topofpage
    - for the bottom of report html script I called it endofpage and used the following code:
    +<td nowrap class="t13RegionBody"><>a href="#topofpage"<>Top of Page</a></td>+
    +<td nowrap bgcolor="#EEEEEE"><A NAME="endofpage"><font color="#EEEEEE">End of Page</font></A></td>+
    What the script does is when the "End of Page" hyperlink is clicked, it takes the user to the bottom of the screen/page and vice versa for the "Top of Page" hyperlink situated at the bottom of the page. Users will be educated on how to use the ROWS utility on the interactive report menu bar so that they can display all available rows on one page and use the links to navigate from top to bottom of page.
    Mufudzi
    Edited by: Mufudzi on Oct 2, 2009 12:20 PM

Maybe you are looking for

  • Updates to a complex view

    SQL Developer version 3.0.04 on XP Pro We are able to use the data grid to update the values of views that are inherently updatable, no problem. We have a complex view with an associated instead-of-update trigger. We are able to update this complex v

  • Form could not be edited in Acrobat X Pro and also in Live cycle. What form It could be    ?

    I have come across certain pdf forms which when opened in acrobat X pro could not be edited as the edit button is disabled. Doubting it to be  a XFA form I opened it in live cycle but it ask me to import the form as it was not originally created in L

  • 648 MAX BEEP ALARM

    MSI 648 MAX L P4 2.4G 533FSB 128 CORSAIR DDR CAS 2 MSI MX440 SE-T System was running fine.  I changed from an Intel C 1.7 to a P4 2.4G Proc.  When I booted up, I got a Hi/Lo beep tone at 1 second intervals.  The system runs ok.  There is no other pro

  • PSE 9 install on Windows 7 (32 bit) fails due to "shared technologies"

    I'm installing this older version of elements because it came bundled with an Epson scanner that I just purchased. The install works fine on other computers running Windows 7. My computer also has the following Adobe products loaded: Acrobat Pro 9 Ac

  • Single invoice for each delivery

    Hi All, I got one critical requirment from my client "while creating invoice user is entering more than one delivery in vf01 they dont want to allow to enter more than one delivery in vf01 " Please guide me . Regards, Suresh