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!

How can I close a modal dialog after branching ?

RunrigApr 30 2018 — edited Apr 30 2018

I have a very simple modal page which collects some parameters and then redirects to a url returned by a SQL. The intent is to get the URL (open in a new window) and close the dialog

My problem is that the Modal Dialog never closes, no matter the combination of Process or Branching I use.

The issue I believe is the URL that is returned it opens a new page/tab . I am thinking that I need to embed the close within this URL ? not sure

javascript:var x=window.open('http://mydomain.com/tmp_files/file_R_04_30_2018_12_00_36.txt','_blank');

I have tried

  • A process to fetch the url
  • A branch to the url

This works but the modal never closes.

  • A brunch using a function returning a URL.

Again still does not close the dialog

This post has been answered by fac586 on Apr 30 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 28 2018
Added on Apr 30 2018
4 comments
1,345 views