Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

File Browse download not working. Shows blank page only.

AllenS.Nov 4 2019 — edited Nov 6 2019

Hi,

We are using Oracle APEX 18.2.

I've created a custom table which has a blob column. I've created a form which shows a File Browse item that Displays a Download Link. I have a Automatic Row Fetch on the page which fetches the record from the custom table by ID (PK).

I've setup the BLOB ITEM with the following properties:

pastedImage_0.pngpastedImage_1.png

For some reason, when I click the Download Link, it only shows a blank page.

However, when using a Classic/Interactive Report and adding a Download BLOB column, it seems to work without any issues. I noticed that there's a difference in the links generated though.

This is the link generated by the File Browse (Download link)

apex_util.get_blob_file?a=176459263&s=12619790786235&p=6&d=2064208774116061&i=1994401831347623&p_pk1=124&p_pk2=&p_ck=zYRwqD4s9_yfsPbirlA1CPSwMnQ5leOTuRM3kiSMBzvFg6hpIdFGTo0BhfkUs-cWQ0ikxkaQ_M_DNM8wctyZDQ&p_content_disposition=attachment

This is the link generated by the download column in the report region.

apex_util.get_blob?s=12619790786235&a=176459263&c=1994357211347622&p=5&k1=124&k2=&ck=rFlgpDgbhj0-6LDpEa0G0tCzGZyynKW8HyBVxVdeFuCyJW1w0ML3boC5xSsBKIj_SqHo7pd_NmfdSQRH1NVsNg&rt=IR

It seems that the apex_util.get_blob_file does not work as well as the apex_util.get_blob

Appreciate any help.

UPDATE 11/6/2019:

Changed the settings to the following since this is how I got it to work in apex.oracle.com.

pastedImage_0.png

Comments

Post Details

Added on Nov 4 2019
9 comments
895 views