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