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

Similar Messages

  • Email links in an interactive report

    Hi
    Is it possible to have email links in an interactive report?
    i.e display something like "[email protected]" as a clickable link that invokes the default external email program with the "To:" field populated?
    Thanks!

    Another nifty way to do it, while saving precious screen space would be:
    '<a href="mailto:' || email || "><img src="/i/pkt_mailto.gif" title="' || email || '"></a>' "E-mail"
    email being the name of the column that contains the E-mail address. It will display like a small envelope with an e-mail displayed as you hover over it.
    Vojin

  • Using a variable db link for an interactive report

    I have a requirement where users will select an instance (db link) from an apex LOV and the data in an interactive report will query based on the db link selected.
    I can use a db link in an interactive report query but only if I provide the exact name of the link. If I do something link select * from foo@:P12_DBLINK it doesn't work.
    It seems my only option is to use something like apex_collection.create_collection_from_query and then I can build my query with dynamic sql and use a variable for the dblink name. Then I just create an IRR based on my collection.
    Does that sound like that correct approach and/or am I missing anything?
    Any suggestions are most appreciated,
    john

    I guess I have it working ok. I am able to create a region of type 'PL/SQL Dynamic Content' and do something like this and it works. As I change the dblink select list the report refreshes with data from that instance. Pretty cool! I just can't believe it's this much work to do this. This is just one column of data and I have about 10 columns that I need to display:
    declare
    type array_t is varray(100) of number;
    array array_t;
    l_sql varchar2(4000);
    begin
    l_sql := 'SELECT credit_card_trxn_id FROM EXM_CREDIT_CARD_TRXNS@'||:P4_DBLINK;
    execute immediate l_sql BULK COLLECT INTO array;
    for i IN 1..array.count
    LOOP
    HTP.p (array(i));
    HTP.br;
    END LOOP;
    end;

  • 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

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

  • How do I create a downloadable link from an Interactive PDF file created out of InDesign CS6?

    Hello,
    I created an Interactive PDF file out of InDesign and would like to make the large file a downloadable link and share it with the user in an email. I do not want to use DropBox or GoogleDrive.
    The company I contract for has their own site - do I insert the file into the site or can I create a separate link for it?
    I will be recreating these presentation PDF's constantly, so I would like to know if there is a simple way to create this link for files in the size of 7-12MB.
    Any ideas on downloadable links? I do have flash - but rarely use, perhaps load the file out of flash?
    Thank you so much for your help,
    Megan

    Hi Willie,
    Thanks for your help. Most likely contact the company who maintains the
    site then to share the file with them I'm assuming?

  • Download link to export several reports in a dashboard at once

    Hello Gurus. When you create a dashboard with a report, the Refresh, Printer Friendly and Add to Briefing Book links are created automatically with icons on the bottom, left hand side of the dashboard. Is there a way to include the Download link as well? The idea is to have a link to export several reports to Excel at once. I already know how to add it for each report. Our dashboard has 6 reports and the user wants to export all 6 reports in one command. Any help is appreciated. Thanks!

    In short - No.
    Asked many many many times, probably in the top 10 wish list.
    If you manage to suss it out please share with everyone :-)

  • How to open a link in an interactive report?

    Hi all,
    we have an interactive report which displays in one column an url.
    If the url is formatted like this 'http://www.test.com', the link can be opened within the interactive report, when it is formatted like 'www.test.com', without the 'http', it can't be openend.
    Is there any possibility that links with 'www.test.com' can be opened as well from the interactive report or do we have to mass update this column on database side?
    Thank you very much!
    BR

    Hi,
    You can modifiy the query of to incorporate http:// to the url name
    select a , b , c , decode(substr( url_filed ,1 , 4), 'http', url_filed, 'http://' || url_filed) from table name

  • One download link for 2 diffferent reports on a Dashboard page Obiee 10g

    Hi All,
    I have a requirement where in I have 2 different report in 2 sections on a Dashboard page. Is it possible to have a single download link so that the user downlaods the 2 reports by clicking on a single button. At present we are having 2 download link and the user has to download twice for 2 different reports.
    I have to implement this in OBIEE 10g.
    Thanks,
    Krishna

    Hi,
    By implementing briefing book method you can achive it.
    steps
    1) Create briefing book and add your two reports into that briefing book
    2) save it your briefing book and then add it your dashboard page
    ref:
    http://gerardnico.com/wiki/dat/obiee/briefing_book
    http://tipsonobiee.blogspot.com/2010/07/working-with-oracle-bi-briefing-books.html
    Thanks
    Deva

  • 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

  • How to create a link to a unix document in interactive report??

    on the same UNIX server where APEX 4.2 is installed I have a directory with pdf documents - /d01/apex/docs/mydoc.pdf for example.
    How can I create a link in APEX interactive report to point to the document and allow users to view or download on their PC's?
    Thanks.

    Hello,
    In your report source, you should use something similar to:
    Select empno , ....., '<a href= "#IMAGE_PREFIX# ........" >' Download from server '</a>' as "Download" from empWhere #IMAGE_PREFIX# stands for Static resources "i" in your web server. it should be in your case (for Windows):
    C:\apex\imagesYou may need to use CASE Clause for multiple Docs
    Please see this example:
    http://apex.oracle.com/pls/apex/f?p=63066
    worksapce: somefeto
    user: test
    pwd: test
    Regards,
    Fateh
    Edited by: Fateh on Oct 24, 2012 11:35 PM

  • Can I link from Interactive report Page 1 to Master Detail page 2?

    Hi folks-
    I know how to create a Page as an Interactive Report; it creates 2 pages automatically (primary page with the great interactive bar) and a 2nd page that's a single record.
    I know how to create a Page as Master Detail, whereby I get a tabular list without the super interactive bar, and I can select a record, and get transported to a nice page with 2 regions (master on top, detail on bottom).
    I want to have the First page from the Interactive Report, select the record, and go to the 2nd page of a MasterDetail.
    Do I create the Interactive Report, and customize the 2nd page, to add a region?
    Or, do I create both page types, and redirect from the 1st page of the Interactive Report to the DML Form from the MD report? I tried that, re-assigning the link from the Interactive Report to be a Link to Custom Target, and specify the page # of the Master-Detail page. And it is taking me to the right page, but the data from the selected row is not coming with me, and the detail in the bottom region is not appearing at all.
    Can someone please give me a nudge as to the sequence I should be doing?
    (As you can tell, I'm new to Apex.... I'm trying to use it to create a prototype or proof-of-concept for a database driven web application)
    Thank you
    Marion

    Yes, I tried that after I wrote to you - and it's fine, but not what I'm after; it's only based on 1 table and I'm working with 2 tables.
    Perhaps I can explain in better.
    I want one page as an interactive tabular report (of the master records)
    I want to select a row, and transfer to a page that has the corresponding row on top (as a form), and a tabular region below of records from a related detail table.
    ie, I want page 1 from the Interactive Report, and page 2 of the Master Detail report.
    OK - I just took the form page, and added a region below in a tabular report. And I'm getting the data, but I'm getting all the records (not just the ones associated with the single record on top. I figure I need to edit the Region Definition->Source (to specify that the id numbers need to match), but the code is not editable.....
    So I am in Structured Query Attributes, and I've Modified the Join Conditions - but I still get all the detail records in the bottom region. I''m trying to add in the ( + ) qualifier, but it doesn't affect anything...
    I'm soo close to what i'm trying to do!
    Thank you for your continued patience and assistance
    Marion
    here's the Source I have for the region..... (I'm including the excess ID columns just for learning purposes)
    SELECT
    "PHONENUMBERS"."PHONE_ENTITY_ID" "PHONE_ENTITY_ID",
    "ENTITIES"."ENTITY_ID" "ENTITY_ID",
    "ENTITIES"."FIRSTNAME" "FIRSTNAME",
    "ENTITIES"."LASTNAME" "LASTNAME",
    "ENTITIES"."COMPANY" "COMPANY",
    "PHONENUMBERS"."PHONE_ID" "PHONE_ID",
    "PHONENUMBERS"."PHONETYPE" "PHONETYPE",
    "PHONENUMBERS"."PHONENUMBER" "PHONENUMBER",
    "PHONENUMBERS"."PHONECOMMENT" "PHONECOMMENT"
    FROM
    "PHONENUMBERS",
    "ENTITIES"
    WHERE ENTITIES.ENTITY_ID = PHONENUMBERS.PHONE_ENTITY_ID
    Edited by: mtpaper on Oct 12, 2009 1:30 PM
    Edited by: mtpaper on Oct 12, 2009 1:32 PM

  • 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

Maybe you are looking for