Problem with download link for a BLOB Column in a "Classic report"

I am having a problem where I cannot make a download link for a blob column function in a "classic" (non-interactive) report. I went through the tutorial on this topic and it was great help it working out the minor bugs, but I get a 404 error (apex_util.get_BLOB not found). For testing purposes I went ahead and created a an identical report on the same page that is an "Interactive report" and it works like a charm. Same query, same BLOB formatting Mask, pulling data from the same table. So, it really doesn't seem like an issue with the grants, since both reports should be executing as the same user.
I know it sounds like the obvious answer is to just go with the interactive report and my problem is solved, but the rest of this site uses classic reports, and I don't need the sort features of an interactive report, and the slightly different style of the the report really stands out even if I turn off all the bells and whistles. I don't want to change the css to make them look identical, I just want a regular report to work.

I eventually found another post: APEX_UTIL.GET_BLOB was not found on this server
In this post there is the suggestion of putting "dbms_lob.getlength("var")" after the date field in your select. So I changed my query to have it at the end, and now my format mask (DOWNLOAD:table_name:ATTACHED_FILE:FILE_ID::FILE_MIME_TYPE:FILE_NAME:::attachment:Download) works like a charm, in a classic report.

Similar Messages

  • Re: Problem providing download link for BLOB data in apex report

    Hi Don,
    Your solution below worked but in the download option i only see save but not open for PDf file in the blob. Please let me know if you have any suggestion to achieve it
    Thanks
    Jo
    Problem providing download link for BLOB data in apex report 
    591953 Nov 19, 2008 1:55 PM (in response to 660436)
    Currently Being Moderated
    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

    Branched out from a years old thread.
    user3003326 Don't post to old threads, please.

  • Problem providing download link for BLOB data in apex report

    Hi,
    I am trying to create a report on a table with BLOB data so that the report displays a "download" link for the BLOB data. I am trying to give users the ability to download files from a website.
    I have been following the instructions in OBE "Defining and Viewing BLOB Data in Oracle Application Express 3.1".
    In the report, for the BLOB column, I have specified values for the following fields in Report Attributes->Column Formatting->Number/Date Format->BLOB Download Format Mask:
    BLOB Table
    BLOB Column
    Primary Key Column 1
    MIME Type Column
    Filename Column
    BLOB Last Updated Column
    However, when I run the report, I get the following error, even thought there is data loaded into the table:
    report error:
    ORA-01403: no data found
    When I remove the BLOB Download Format Mask information for the BLOB column, then the data displays in the report, but without the "download" link for the BLOB data (which is expected):
    E.g.
    Title Author Created BLOB_CONTENT
    Siebel & RAC Best Practices     Erik.Peterson     17-SEP-08     [datatype]
    Siebel Grid Case Studies     Mark.MacDonald     17-SEP-08     [datatype]
    Siebel CRM Applications protected by Oracle Clusterware     Kelly.Tan     17-SEP-08 [datatype]
    Oracle Grid: The Optimal Platform for Siebel Solutions Mark.MacDonald 17-SEP-08     [datatype]
    Any ideas why I'm seeing the ORA_01403 when I specify the BLOB Download Format Mask?
    Edited by: user716599 on Sep 18, 2008 12:31 AM

    Good morning,
    Here is how I have solved this problem.
    1. The select statement in the sql for the report should not include the BLOB column. I decided to select only 2 columns, the column that has the key and the column with the filename.
    2. On the first column ( the primary key ) I put in the format statement that was simply DOWNLOAD:TABLENAME:BLOB_COLUMN:PRIMARY_KEY
    This works. I believe that the Oracle error I was getting was because I was trying to apply this format statement to the actual BLOB column.
    So, it appears that you can use any of the columns in the report to hold the DOWNLOAD format statement since in the format statement, you are defining the BLOB table, BLOB column and the primary key into that column.
    Hope this helps,
    Don.

  • Problems with downloading software for vista

    hello
    I have tryed 3 times to download software for Ipod nano 4g with no luck
    I get that the download is ok and I can see Itunes on my computer but see no devices on it I dont know what i am doing wrong is there a way to contact someone to walk me throught it on the phone. Please I need some help this is a gift for my daughter and I would like to have it work . thanks
    Joe

    Does the device show up properly under Vistas device manager or is there an beside it?

  • Problem with a link in a number-column

    I use Apex 2.2 in German Version. In a report there is a column containing numbers (7,2). For this column I installed a link to a cell from a tabular form. When there is a number like 1234,56 the result of the link in the tabular form is 1234. The after-comma figures are not transferred and it is necessary to add them manually.
    I use Apex 2.2 in German version. Maybe the comma is the reason that the figures behind are not carried forward. Would it be possible to improve this?

    Hello Scott and Michael...
    Firstly I'm a newbie and using APEX v2.2
    I have this problem, for example in my employee table with this columns.
    id_emp, first_name, last_name, mobile_no, id_department, id_manager.
    <<id_manager is recursive to id_emp,>>
    So, when I try to setup i#ID_MANAGER# using P1_REPORT_SEARCH, Always receive "No data found". If I put, for example the first_name, i't's work perfectly, but show me multiples rows.
    I tried this too:
    f?p=&APP_ID.:1:&SESSION.::&DEBUG.::P1_REPORT_SEARCH,P1_REPORT_SEARCH:#ID_MANAGER#
    Do you have any idea to this problem?. I want to see the employee row, in this case the manager row.
    Before the problem began, I run the patch to apex, and after that the problem begun.
    Thanks,
    David :D

  • Problem with download link in Oracle 9i Lite page?

    Hello,
    I get a cannot find server/The page cannot be displayed error when attempting to download 9i Lite for Windows.
    http://download.oracle.com/otn/nt/oraclelite/olite502_win.zip
    Is this a known issue? Can anyone else get to it?
    Thanks.
    Julian

    Julia,
    I am unable to download using that link and I have reported it to the OTN people.
    If you continue to have a problem, please send me an address and I will ship you a CD.
    TNX,
    Phil

  • Problem with downloading xdk for java - suggestions?

    I am having problems downloading the xdk for java. Could someone please direct me to an alternate site for download?

    In Windows, open the Task Manager and, in the Processes tab, close bridge.exe.
    http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html

  • Problem with downloading updates for CS6 and Camera Raw 7.4

    I am unable to update my CS6 to get the latest updates and latest Camera Raw for Canon 6D.  I get an error message that says close Adobe Bridge.  Photoshop is closed and as far as I can tell Adobe Bridge is closed.  What do I do now?

    In Windows, open the Task Manager and, in the Processes tab, close bridge.exe.
    http://helpx.adobe.com/creative-suite/kb/error-installation-cannot-continue-bridge.html

  • Problem with using SelectOneChoice for a Table column..

    Hi
    Thank you for reading my post
    I have a Table in my database which one of its fields is an status field.
    the status can be :
    Done
    Pending
    In-Progress
    I have a form that one can edit the records of this table and i want to use a ComboBox for this field.
    As you know, the ComboBox should indicate the current value and its change should be reflected to database after user pressed the submit/commit button.
    But all my tries failed, i tried to
    -put a SelectOneChoice in the form and bind it to the field
    -Use Drag and Drop feature to drag and drop the Data Control field on the form as a SelectOneChoice, it shows a Binding Dialog that i can not configure it correctly and it has no help.
    Can you please help me to resolve it?
    Thanks

    Hi user,
    Have a look at Steve M's example at http://www.oracle.com/technology/products/jdev/tips/muench/screencasts/editabletabledropdown/dropdownlistineditabletable.html?_template=/ocom/technology/content/print
    Hope this helps,
    John

  • Display a blob column in a classic report

    We are using Apex 4.0, and trying to display a blob on the report using: decode(nvl(dbms_lob.getlength(ci.photo),0),0,null,'<img src="'||apex_util.get_blob_file_src('P2_PHOTO',ci.ci_nbr)||'" height="75" width="75" />') img. What appears on the report is:
    <img src="apex_util.get_blob_file?a=101&s=4433607511119466&p=2&d=4632627567686552&i=6506227756338792&p_pk1=1202016&p_pk2=&p_ck=B45D690EDA38F565BB6AC2BC859E2F0F" height="75" width="75" />
    I am following the example in apex.oracle.com, your help will be much appreciated.
    David.

    Thanks for the response Jeffe, I did change the attribute to standard report column and I think it is going the right direction but now I am a blank box with a smaller box in the upper left corner with a red x in the box. If you have any ideas about this one that would be great.

  • TS5376 I'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.

    'm having a problem with downloading and installing the new version of itunes for windows (11.1.4)  I have done everything the troubleshooting article has said and it is still not working properly.  I have even done a repair to see if that works and it has not.  Has anyone else found a new way to get it working?

    Try Troubleshooting issues with iTunes for Windows updates.
    tt2

  • I can not do the update , what should I do to fix this error ? "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    I can not do the update , what should I do to fix this error ?
    "There was a problem with downloading the file . For tips on troubleshooting , please go to Customer Support . ( Error code : 204 ) ." thanks

    Hi,
    Please refer to the help document below:
    Error downloading, installing, or updating Creative Cloud applications
    Regards,
    Sheena

  • My PC with Elements 8 crashed.... where can I find a download link for Elements 8?

    My PC crashed, with Elements 8 on it.  I want to re-install Elements 8 on my new PC, but I cannot find a download link within my adobe ID, or anywhere on the site for that matter.  I have no need to upgrade to a newer version of Elements.  Solutions?

    If you choose the download option at the time of purchase then please see http://forums.adobe.com/thread/1006208?tstart=0&promoid=KBHJQ for information on how to download your software.
    If you purchased a DVD but are not able to locate the installation media then please see http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml for information on how to download a fresh copy of the install files.  Please make sure to follow the Very Important Instructions section as opposed to simply scrolling to the bottom of the page and clicking on the download link. 
    Once the download is complete please make sure to make a backup copy of the installation files in case you need access to them again in the future.

  • Problems with Download of Oracle IFS /IFS Devkit for NT

    I am having problems with download of Oracle IFS and Oracle IFS Devkit for NT.
    When I ran the ifsdevkit.bat file the last four files did not get copied over. Subsequently when I ran the upload_ifsdevkit batch file as indicated in document I got error message saying
    'System cannot find the path specified'.
    When I opened the batch file it is looking for BIN directory under the C:\OraHome1\ifs directory but none exists. I wonder if this is the cause of problem. This would mean that the ifs1081.zip file has a bug in that it did not create the BIN directory and files under C:\OraHome1\ifs
    Would appreciate if somebody can help. Thanks
    null

    Is C:\OraHome1 your ORACLE_HOME directory? (Usually, it's C:\Oracle\Ora81)
    Also, have you installed iFS (successfully) in that ORACLE_HOME? If so, you are guaranteed to have an %ORACLE_HOME%\ifs\bin directory.
    Finally, did you enter the correct directory as the parameter to the DEVKIT script?

  • Hai Matt  I have a problem with download a new app. While I bought iphone5, I take iphone to shopkeeper for download some app and videos that he used his Apple ID . That's t problem now.. Not all the time his ID is appearing but some times hi

    Hai Matt
    I have a problem with download a new app. While I bought iphone5, I take iphone to shopkeeper for download some app and videos that he used his Apple ID . That's t problem now.. Not all the time his ID is appearing but some times his Apple ID is appearing that time I can't download app, videos, songs.. So please guide me to remove that ID or how to solve that..
    Regards
    Babu

    Check Settings/iTunes and AppStore/AppleID and make sure that your AppleID is filled in. If not , sign out and sign in with the correct info.
    To make sure that no other apps or videos are on your device than the one you bought, set it up as new device, explained here: How to back up your data and set up as a new device
    Content that is not bought with your ID can't be used on your phone, that's why his ID and password is asked when you try to use those apps downloaded in the store.

Maybe you are looking for