How to open a link to another tab in Oracle APEX classic report

codeWithSaurav
Oct 11, 2023

--

Problem

1. You have created a Card region as classic Report with a column having URL in that column value, and want to redirect to another tab on the click of the card.
2. In that URL, you are not able to use ‘_blank’ attribute
3. How can you open the URL in another tab

Solution

In that Card type region, make a Static ID

Region —

Define Static ID

Create a Dynamic Action as below under that region

  1. DA Name: Refresh Support Menu
  2. Event: After Refresh, Selection Type: Region, Region: Support Activities

3. In True Action
Action: Execute JavaScript Code
Code:
$(“#support-activities-menu a.t-Card-wrap”).attr(“target”, “_blank”)

Fire on initialization: On

--

--