33
Views
7
Comments
Open hyperlink in new tab

Hi,

I have a hyperlink in pdf, when I download the pdf and open it in browser I want that link to open on new tab when I press on it.

I tried to use target extended property but it still opens in the same tab on browser


Hi,

target= "_blank" in the extended properties of a button or a link only works if the Method = Navigate and not if it is Submit or Ajax Submit. 


Thanks

Ruchi

Hi,

It's not traditional app it's reactive one, Method = Navigate doesn't exist

Hi Mohamed,

Make sure to include the protocol http:// or https:// in the URL part. 

Best regards,

Nordin

Hello Nordin,

Already existing it's dynamic URL based on the environment used (Dev, Testing ,UAT,...)

Hi Mohamed,

I've attached a sample OML for reference.

You can test it here as well: https://nordinahdi.outsystemscloud.com/OpenNewTab/Test 

Hope it helps.

Best regards,

Nordin

OpenNewTab.oml

Hello Nordin,

Thanks for replying.

Now I have a pdf that has a link inside, the pdf is downloaded fine, when I open it I'll find this section of terms&conditions, when I click on Terms And Conditions it will open a screen that contains all terms, What I need is when I click on this link to open in new tab not redirecting on the same tab opened.

I hope I could explain the problem


Hi @Mohamed Zakaria 

Could be more specific what PDF that you downloaded, is it the one that you create or from others like resources?

I dont know how to make that happen by an Outsystems, because its already in PDF file.How about right click before you click the link? there will be an option to open in new page.


Regard

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.