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!

Submit page and open url in a new browser tab

RNAug 26 2019 — edited Aug 29 2019

Hi all,

Using ApEX 5.1

I have an apex page which has:

1. couple text fields for a user to enter data

2. a button to generate a report ( which is implemented in java) based on user-provided input

User submits page on click of the button.

On page submit, user is presented with a new page which is a Java page that retrieves data based on the user's input criterion.

The page opens up in the same browser tab.

The button submits the page. Then there is an After Submit branch of type Page or Url (redirect) with the Target code as

https://www.something/&P20_EMP_ID./&EMP_CAT.

How can I implement that the new page opens up in a new browser tab and the page items are set in the session state too when the button is clicked.

Alternatively, I tried to create a dynamic action too (on the button click). The DA did two things:

Submit the page

Execute the Javascript code like below:

javascript:window.open('https://www.something/&P20_EMP_ID./&EMP_CAT.');

This does open up java page in a new browser tab, but the issue is it opens up two reports instead of one. Why?

Please guide.

Thanks,

RN

This post has been answered by Franck N on Aug 27 2019
Jump to Answer
Comments
Post Details
Added on Aug 26 2019
10 comments
2,521 views