BLOB content download link on apex report

Hi Guys,
I have a simple form where user can attach file and save the records. I iterate through wwv_flow_files and get the file and save it to a custom table which has BLOB column. On another report page i display uploaded file details. What i need is, there must be a column with download link when user clink the link appropriate file should be downloaded. How can i do this ?
Really appreciate if someone can assist me on this.
Thanks Guys.

See About BLOB Support in Forms and Reports.
There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well. (An earlier version but it is still relevant to APEX 4.x.)
(Please make an effort to consult the documentation and thoroughly search the forum for previous coverage of a topic. This is a much discussed question.)

Similar Messages

  • Display image for BLOB  Download link in Interactive Report

    I have a table containing BLOB data and am displaying the table in an interactive report. I would like to replace the "Download" text link with an icon that represents the MIME type of the BLOB, but can't seem to find a way to make the substitution. Does anyone know how to do this? Thanks.
    -Jeff

    Hey Ben,
    Thanks for the suggestion. I understand what you are saying, the problem is that when you have an interactive report that includes a BLOB and you use the built-in method for displaying a download link, it only gives you the option of using a text link. The method is outlined in the online help under:
    Home > Advanced Programming Techniques> About BLOB Support in Forms and Reports > About BLOB Support in Reports
    This is done by using the following syntax in the Number/Date Format of the column attribute of the BLOB:
    DOWNLOAD:CC_DOCUMENTS:CONTENTS:ID::MIME_TYPE:FILENAME:UPDATED_ON::attachment:View
    Where the last parameter is the link text. The only problem is that there is no option for substituting an image rather than the link text. That's what I'm trying to work around. Sorry if you new all of this already, but I wanted to explain what I've already done. Thanks for any help you can offer.

  • Show File name as download link in a report

    Hi people,
    In an application (APEX 4.2.1) I have a reprot whith a file donwload column. I implemented the download as a BLOB column with "DOWNLOAD" as Format Mask. This works fine, I can download attachments, no probs so far. However, I want the Download Text to show the name of the actual file instead of a static text "Download".
    Any suggestions on this?
    Kind regards,
    Vincent Deelen

    Hi fac586,
    Thanks for your reply.Actually, my first thougt was to use #FILE_NAME# reference, I tried it again, but it doesn't really work for me. I end up with a download link that reads exactly "#FILE_NAME#".
    I've put up an example in my demo app to show:
    http://apex.oracle.com/pls/apex/f?p=vincentdeelen:31:0:::::
    I've included screenshots of the page setup in the report.
    Regards,
    Vincent

  • How to add a download link in a report directed by a navigation link?

    I have searched the net but could not find the solution.
    I added a link in a dashboard page. The link is connected to a request. When the link is clicked, the page goes to a report, which is not placed in a section region.
    Now, how to configure the report so that a download link is displayed right under the navigated report?
    I know that if a report is placed under a section in a dashboard design page, use the "Request Link..." to add the download link. But such a "Request Link..." feature is not available for a navigate-link directed report.
    Many thanks in advance.
    Quin

    I haven't seen this done, but it may be possible. As a workaround why not create a new hidden dashboard page and put your request on that page with the appropriate 'Download' report link?

  • Download Link in Interactive Report isn't Showing

    I'm not sure if this is a bug or not, but I have an interactive report which allows users to download the report (under the Actions menu).
    The download formats that were used previously were HTML, Email and PDF, and it worked perfectly fine. However, I want to remove PDF as one of the options so I unchecked it... but now the Download link won't appear at all.
    Does anyone know how to get the Download link to appear again? Thanks in advance!

    If I turn on everything except PDF it works.
    Also PDF off and CSV off, still works.
    PDF off, CSV off, RTF off it works.
    Only HTML and EMAIL on, it breaks.
    HTML on, EMAIL on, RTF on it works.
    Sounds like there is a bug here and it's a matter (for now) of finding the most acceptable combination to you and your business needs.

  • Column Links in Apex Reports

    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?

    Doug wrote:
    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?
    When discussing "reports" it is essential to indicate whether this means a standard report or an interactive report in order to receive an appropriate response.
    It is possible to create a link column that is distinct from report data columns. In standard reports, this is done using the Add Column Link option from the Tasks menu in the right sidebar of the Report Attributes page. In interactive reports, define a Link Column on the Report Attributes page.
    To provide further information about links to users in both cases, specify an HTML title attribute for the link in the Link Attributes property of the link definition. This will be rendered as a tooltip when the cursor hovers over the link in visual browsers, and as an audio cue on navigation to the link when using a screen reader.

  • PSE 9 content download link

    I purchased PSE 9 and PRE 9 along with the PLUS package.  The problem is that I lost the link to the PSE 9 plus content downloads.  I received it once, but the download failed and I lost the link.  Can someone point me to the right place to download the plus content for PSE 9?

    Raeeds I am sorry there is no public download available for Acrobat 9 Standard.  If you purchased Acrobat 9 Standard from Adobe directly and choose the download option at the time of purchase then the installation files will be located under your account.  You can find more details at Find a download link on Adobe.com.

  • Clickable email link in apex report

    Hi,
    I have emails information store in a table, and would like to make this email clickable.
    Is this possible? How?
    I was able to do this in forms, but, don't know how this maybe done on the classic reports/interactive reports.
    Thank you for your help!
    LC

    LC,
    This code fires as a URL link from a report, report attributes are wrapped in *#* symbols, line feeds are *%0A%0A*
    mailto:#EMAIL#?subject=Renewal Insurance Certificate for the State of New Hampshire&cc=#EMAIL_ADDR#&Body=Dear #FIRSTNAME#,%0A%0AOur records show that when #VENDOR_NAME# and the State of New Hampshire concluded their contract for #DSC#, the proof of insurance certificate you submitted had an expiration date of,  #INACTIVE_DT#.  Please submit a renewal certificate to me at the at the address below and I will update your records.  %0A%0ABest RegardsJeff

  • BLOB(pdf) download issue in Apex

    Hi,
    In Apex Application We are not able to download blob(pdf file) which has % character in the filename.
    In Application(Apex) we are getting below error
    ORACLE REST DATA SERVICES
    500 - Internal Server Error
    In Listener we are getting below error
    Oracle REST Data Services version : 2.0.8.163.10.40
    Oracle REST Data Services server info: Grizzly/1.9.49
    Jul 3, 2014 2:24:02 AM com.sun.grizzly.Controller logVersion
    INFO: GRIZZLY0001: Starting Grizzly Framework 1.9.49 - 7/3/14 2:24 AM
    Jul 3, 2014 2:24:02 AM oracle.dbtools.standalone.Standalone execute
    INFO: http://localhost:7777/apex/ started.
    Jul 3, 2014 2:24:44 AM oracle.dbtools.rt.web.WebErrorResponse internalError
    SEVERE: contains illegal character for hexBinary: _A
    java.lang.IllegalArgumentException: contains illegal character for hexBinary: _A
      at javax.xml.bind.DatatypeConverterImpl.parseHexBinary(Unknown Source)
      at javax.xml.bind.DatatypeConverter.parseHexBinary(Unknown Source)
      at oracle.dbtools.rt.web.PercentEncoding.decodeOctet(PercentEncoding.jav
    a:134)
      at oracle.dbtools.rt.web.PercentEncoding.decode(PercentEncoding.java:89)
      at oracle.dbtools.rt.web.QuotedStringValue.decodeText(QuotedStringValue.
    java:85)
      at oracle.dbtools.rt.web.QuotedStringValue.normalize(QuotedStringValue.j
    ava:95)
      at oracle.dbtools.rt.web.QuotedStringValue.<init>(QuotedStringValue.java
    :20)
      at oracle.dbtools.rt.web.QuotedStringValue.decode(QuotedStringValue.java
    :41)
      at oracle.dbtools.rt.web.QuotedStringScanner$TokenIterator.quotedToken(Q
    uotedStringScanner.java:158)
    Thanks in advance
    Rajesh

    See this thread for a possible answer: word wrap issues with report in Apex
    Thank you,
    Tony Miller
    Webster, TX

  • Download link for Crystal Reports for Eclipse 2.0 Release Update 12

    Hi,
    In Release note we found that the Unexpected database connector error is resolved while using JDBC result set in setDataSource in CR4E in Release update 12. Please give me the link to download the Release update 12 jars.

    Hi,
    Below is link for the Crystal report for Eclipse 2.0:
    [http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp|http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp]
    you could always refer to the following thread as Bryan updated with new releases :
    [Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!|Crystal Reports for Eclipse 2.0 Release Update 8 is Now Available!;
    Hope this will help
    Regards,
    Rameez Shaikh

  • Download link for Crystal Reports for Eclipse 2.0 Release Update 8

    Hi,
       In Release note we found that the Unexpected database connector error is resolved while using JDBC result set in setDataSource in CR4E  in Release update 12. Please give me link to download the Release update 12 jars.

    [CR4E download|http://www.businessobjects.com/campaigns/forms/downloads/crystal/eclipse/datasave.asp]
    [Latest Runtime|http://downloads.businessobjects.com/akdlm/crystalreportsforeclipse/2_0/crjava-runtime_12.2.213.zip]

  • Error when using format mask to create download link in report

    I'm following these directions to create a download link in a report region.
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_blob.htm#HTMDB25905
    ######### Table Structure...
    desc document_library
    Name Null Type
    DOC_ID NOT NULL VARCHAR2(40)
    DATE_ADDED NOT NULL DATE
    FILE_CONTENT BLOB()
    FILE_NAME VARCHAR2(100)
    MIME_TYPE VARCHAR2(100)
    DOC_NUMBER NUMBER
    ###### Report Region...
    select a.*, dbms_lob.getlength(file_content) length
    from document_library a
    ###### Download Link Column...
    Date Format: DOWNLOAD:DOCUMENT_LIBRARY:FILE_CONTENT:DOC_NUMBER::MIME_TYPE:FILE_NAME:::attachment:Download
    ####### Results...
    report error:
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    The report region displays no rows (even though there is one row in the table), no links, and even more strange, it show the value of APP_USER where it would normally display the results.

    Josh,
    Your end result on page 58 and the instructions in that document link don't seem to correlate. Regardless, I:
    1) Copied page 58 to page 158 in your application.
    2) Removed the BLOB format mask from your report link.
    3) Changed your query to:
    select "ROWID",
    "DOC_ID",
    "DATE_ADDED",
    "USER_ID",
    dbms_lob.getlength("FILE_CONTENT") "FILE_CONTENT",
    "FILE_NAME",
    "MIME_TYPE",
    "DOC_NUMBER"
    from "#OWNER#"."DOCUMENT_LIBRARY"
    4) Specified the BLOB format mask for the FILE_CONTENT column.
    Seems to work just fine now (on page 158, that is).
    Joel

  • Download Link as a Column of Report

    Hi All,
    I really tried from my side to somehow implement this requirement but couldn't find a way.
    Requirement: A report with two main columns - One has unique value and the other has a download link. This download link need to be used to fetch a set of data from the database table using the other column's (unique) value. Then, user should get a popup on his screen to download the fetched data in csv format.
    Please give some guidance or pointers to resolve this issue.
    Regards,
    Mangal

    Hi Mangal
    I've done this before actually. You can create a dummy page with a process (on load before header) as a PL/SQL anonymous block. I got code from Denes Kubicek's site which has details of how to generate CSV output using the htp.prn funtion. Then I created the 'download' link in a report column to go to that page passing a value into a hidden field with the unique id of the row.
    The code on the new page looks something like this but I would refer to Denes' work for full information (most of this is copied from him).
    BEGIN
    -- Set the MIME type
    owa_util.mime_header( 'application/octet', FALSE );
    -- Set the name of the file
    htp.p('Content-Disposition: attachment; filename="download.csv"');
    -- Close the HTTP Header
    owa_util.http_header_close;
    htp.prn('Header Name,');
    FOR x IN   (SELECT field1, field2, field3...
                  FROM my_table
                  WHERE my_id = :PX_HIDDEN_ID)
    LOOP
    -- Print out a portion of a row,
    -- separated by commas and ended by a CR
    htp.prn(chr(34)||x.field1   || chr(34) ||','|| chr(34) || x.field2   || chr(34) ||',' ||
             chr(34)||x.field3..... || chr(34) ||chr(13));
    END LOOP;
    -- Send an error code so that the
    -- rest of the HTML does not render
    htmldb_application.g_unrecoverable_error := true;
    END;Hope this helps.
    Cheers
    Ben

  • Show / Hide DOWMLOAD link in classical report based on user rights

    Hi,
    using apex 4.1.
    How i can display or hide download link in classical report based on user rights .
    The User who has download rights ,can download the data from classical report Otherwise it should hide.
    I have passed the code in authorization scheme in shared component as named "VIEW"
    DECLARE
    VNAME VARCHAR2(1000);
    BEGIN
    SELECT PAGE_NAME INTO VNAME FROM APEX_APPLICATION_PAGES WHERE PAGE_ID = :APP_PAGE_ID AND APPLICATION_ID = :APP_ID;
    return GET_ADMIN_STATUS_VIEW_NEW(:APP_USER,VNAME);
    END;How i can call "VIEW'' name in download link.

    Right click on the export link, select copy url. Create a button with redirect to URL. Use that URL (or at least everything with and after f?p). Bind rights to the button.
    Or create a second identical report with different rights, give one export enabled and one disabled. The first is better, the second is easier :)
    Edited by: Joni Vandenberghe on 8-feb-2013 5:08

  • Download link in OBIEE 11.1.1.7.0

    Hi,
    1) Is it possible to have two download link for same report, ex: view 1 into one download file and view 2 into other download file?
    2) or two/n number report with single download link, ex: when i click a link it will process 4 reports download separately ?
    How to achieve this ?
    Thanks in advance !
    Satheesh

    Try Link Options from this link http://docs.oracle.com/cd/E21043_01/bi.1111/e16364/apiwebintegrate.htm#i1053482
    if helps mark
    ~ http://cool-bi.com

Maybe you are looking for