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!

PDF Viewer in Apex 5

Ajay GandhiAug 25 2018 — edited Aug 26 2018

Hi,

I am following the thread and it looks like it is for APEX 4.x (not 5.x)

Here is my use case:

We have a table consisting of candidate resumes. We need to view the resumes inline in Oracle APEX. The resumes are stored in PDF format in an oracle table in 12c.

I created a simple classic report and added the following SQL:

select id, blob_content from t1;

This does not display the blob content.

So I did setup the BLOB attribute settings.

Screenshot 2016 08 26 13 59 30

When I run the report, we get an error ORA-06502: PL/SQL: numeric or value error:

To avoid that I changed the query to

select id, dbms_lob.getlength(blob_content) blob_content from t1;

I set this column as DISPLAY IMAGE and set the attributes for MIME_TYPE, FILENAME

Instead of displaying the PDF file, I am getting

pastedImage_2.png

How can I view the resumes and then go to the next record and view another resume? Currently, we can download the resumes and view it. I am more interested in viewing inline

Any feedback would be appreciated.

Thanks

Ajay

Message was edited by: Ajay Gandhi

This post has been answered by Pierre Yotti on Aug 25 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2018
Added on Aug 25 2018
3 comments
505 views