This content has been marked as final. Show 7 replies
The issue can be reproduced at will with the following steps:
logged into: APEX.ORACLE.COM
Log in to workspace: TESTTABFORMS
User ID: TEST_USER
Application: 61676. TEST_PDF_VIEW
Or try this link: http://apex.oracle.com/pls/apex/f?p=61676:1
On the first page, you can select "View" and the image will be displayed. If you go to the Pencil icon, the image should be displayed inline at the bottom of the page. IE will display a grey box (sometimes with an "initializing" progress bar which doesn't move). Firefox doesn't display the box at all.
Thank you for your help!
I had a look at your example and the problem is because of the wrong source of P2_DISPLAY_EMBEDDED item.
I have now corrected it and working fine.
Your original source
RETURN '<object width="400" height="400" data="APEX_UTIL.GET_BLOB_FILE_SRC(''P15_BLOB'',' || :P15_BULLETIN_ID || ',null,''inline'')" type="application/pdf"></object>';
RETURN '<object width="400" height="400" data="'||APEX_UTIL.GET_BLOB_FILE_SRC('P2_BULLETIN_PDF_1',:P2_BULLETIN_ID,null,'inline')||'" type="application/pdf"></object>';
YES! Except the "real" answer is this:
In APEX 3.2, you could reference a hidden variable as the source of the BLOB. In 4.1 - you can't. In fact, it just doesn't work. When I created the example on apex.oracle.com, I inadvertently left the file browse option in place so it would work.
In my "real" application, since this screen is supposed to be a "view only" screen, I simply put the Fille Browse item into another region. And then never display the region which seems to solve the problem.
Thank you for your help!!!