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!

Modal dialog - iframe URL

partlycloudyOct 5 2021 — edited Oct 5 2021

APEX 20.1
I have a modal dialog page. It has a static content region with a IFRAME to display an image or PDF stored in a database table. It uses the recommended technique to use an application process to fetch the blob content.
The iframe link is of the form

 <i frame src="f?p=&APP_ID.0:&SESSION.:APPLICATION_PROCESS=download_file::::P1_FILE_ID:1234"></iframe>

However, when the page is rendered as a modal dialog, I find that the link changes to

<i frame src="javascript:apex.navigation.dialog.close(true,<URL>);">

So the region renders empty.
Any idea why? How can I get the modal dialog to leave my link alone?
Thanks

This post has been answered by partlycloudy on Oct 6 2021
Jump to Answer
Comments
Post Details
Added on Oct 5 2021
6 comments
2,055 views