Sat. Sep 18th, 2021

Requirement: Let us assume, we have Page 1 (Home page), and Page 2 (Sample Page). On the Sample Page, I have a button with the name as “Click to Open Home Page in New Tab“.

The moment user clicks on the “Click to Open Home Page in New Tab” button it should open Home Page in the New Tab of the same browser.

Solution: For solution of the above requirement follow the steps as shown below:

Step 1: Let us create two pages, Page 1 (Home), and Page 2 (Sample Page) a shown below.

Step 2: On the Sample Page, create a Region inside a page and set the Title as On Button click open page in a new Tab

Step 3: Create a button inside the Region and set the below properties for the button.

  • Name: P2_OPEN_PG_NEW_TAB_BTN
  • Label: Click to Open Home Page in New Tab

Step 4: Create a Dynamic Action for the P2_OPEN_PG_NEW_TAB_BTN button and set the Name as open_pg_btn_clicked

Step 5: Set the Properties of the True outcome as shown below

  • Action: Execute JavaScript Code
  • Code: javascript:window.open(‘f?p=&APP_ID.:1:&APP_SESSION.’,’_blank’);

Save and run the application. Thus, the ran application is shown below:

Click on “Click to Open Home Page in New Tab” button and with that the page will open in a New Tab of the same browser as shown below.

Hence, the solution to our requirement.

If you like the post please comment, share, and do join me on Facebook. Please subscribe to my YouTube Channel for video tutorials.

Thanks & Regards,
Susanto Paul

 924 total views,  1 views today

By Susanto Paul

Susanto is an Oracle ACE, a qualified MCA, MBA, and a highly-skilled Senior Oracle Specialist. He is an enthusiastic Blogger and YouTuber who helps learners to solve their complex problems more efficiently. He has 9+ years of experience in multiple technologies like AWS, Oracle ADF, Oracle APEX, Oracle JET, Oracle VBCS, Oracle IDCS, Oracle PL/SQL, Oracle Integration Cloud, Java, JDBC, Servlets, JSP, Spring, Hibernate, HTML5, CSS3, JavaScript, TypeScript, NodesJS, Angular, MySQL, Oracle WebLogic Server, JUnit, JMeter, Selenium Web Driver, etc. He is a certified: Oracle Certified Professional Java SE 6 Programmer, Oracle ADF 11g Certified Implementation Specialist, Oracle Cloud Platform Application Integration 2020 Certified Specialist, Oracle Cloud Infrastructure Foundations 2020 Certified Associate, and Oracle Cloud Infrastructure Developer 2020 Certified Associate

Leave a Reply

Your email address will not be published. Required fields are marked *

satta king chart