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.

APEX emails empty report (pdf) as attachment

newjackDec 16 2019 — edited Dec 16 2019

I have attempted to email a pdf report (shared components BI Publisher rtf template) as an attachment. The email is generated but a blank pdf is attached that cannot be opened. When trying to open document, the popup says the file type is wrong or corrupted. My APEX process calls the 3 below procedures to attach the report.

APEX_UTIL.DOWNLOAD_PRINT_DOCUMENT...  (also tried APEX_UTIL.GET_PRINT_DOCUMENT)

APEX_MAIL.SEND...

APEX_MAIL.ADD_ATTACHMENT...

I don't have much experience with the apex_uitl print procedures. Any thoughts of why the pdf is failing?

This post has been answered by Mike Kutz on Dec 16 2019
Jump to Answer

Comments

Processing

Post Details

Added on Dec 16 2019
2 comments
470 views