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!

Open page in new tab from card dialog is giving error about:blank#blocked

pkpandaJul 11 2023

Hi I have a dialog page with card region and each card has a action button. when the user click the button it needs to open the page in a separate tab.

I have tried it both way like redirect to page in this application and added Link attribute target="_blank" I am getting the following error about:blank#blocked i have also changed the application setting to allow iframe and other parameter.

other option I have tried was prepare the URL with href with target="_blank" and put the button Link type as redirect to URL and assign the column name when I click it gives error not found because of the URL format

'<a href="'|| apex_page.get_url (p_page => LINK_URL, p_items => 'G_REQUEST_TYPE', 
            p_values => REQUEST_TYPE ) || ' target="_blank" rel="noopener noreferrer"> </a>' ulink, 
'apex.navigation.openInNewWindow('|| apex_page.get_url (p_page => LINK_URL, 
           p_items => 'G_REQUEST_TYPE', 
           p_values => REQUEST_TYPE ) || ')' new_link

But when I change the dialog page to normal page these links work fine. I am using OCI with APEX 23.1

Comments
Post Details
Added on Jul 11 2023
1 comment
769 views