Call a new tab window page from oracle apex modal dialog using java script Target_blank

We always facing this issue to call the new tab window from modal dialog with passing parameters and its values how ?
Yes, we can call a new tab window through javascript code and simple submit dynamic action. Below steps will clearly explain you to call a new tab page
Step 1: Create a modal dialog with button.
Step 2: Create dynamic action when click action see the below image

click1

Step 3: Create a action , that’s submit a page because to set the item values if you have placed the items for to bind those values.

click2

Step 4: Create an another action to execute the java script code like below

click3

paste the below java script code

javascript:window.open
('f?p=&APP_ID.::&SESSION.::::
parameter_variable 1,
parameter_variable 2,
parameter_variable 3,
parameter_variable 4:
'+$v("bind_variable 1")+',
'+$v("bind_variable 2")+',
'+$v("bind_variable 3")+',
hard_coded_value',
'_blank'); 

that’s it you got it, click the button you will redirect into a new tab window.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s