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 to separate APEX application

Chris WoltenbergJan 19 2018 — edited Jan 23 2018

Hello forum pals,

I'm having an issue trying to launch a page in one application from another.

I am trying to launch a page in App2 from App1 as a modal dialog.  Here's my setup:

App1 has a button defined as Redirect to Page in a different Application.

App2's page has Page Mode defined as Modal Dialog.

APEX correctly acknowledges that App2's page is a Modal and opens it in a Modal Dialog.  However, the dialog throws this error upon opening.

Your session has expired

Please close this dialog and press your browser's reload button to obtain a new session

When I've tried this in an older template (not the Universal Theme) you could see the URL it prepared was trying to use the same session ID as App1 (which can't be used for App2).  So I also did my own prepare URL where I forced the session_id to 0, but still ended up with the same result.

Here is the demo on apex.oracle.com: https://apex.oracle.com/pls/apex/f?p=105000:1

Is there some way to allow a dialog to open a modal page from a separate application while still using the native APEX Page Mode mechanics.  We do this already today using our own creation of iframes, jquery UI dialog but it would be much simpler if we could use the APEX native page mode mechanics.

Thanks,

Chris

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 20 2018
Added on Jan 19 2018
11 comments
2,437 views