276
Views
4
Comments
Solved
Open link in new tab
Question
Application Type
Reactive

Hi,


I have a link on my screen. If I click on that link , the pdf viewer should be opened in a new tab

I also tried target= "_blank" in the attributes of the link but it did not work. I also tried css styles target-new:tab; but it didn't work. Please tell me a solution.

2023-03-31 06-39-46
Asad Sheikh
Solution

Hi @Gayathri Gali

Go to link properties and in Attributes give target "_blank" it is working for me as I shown in the screenshot try in Chrome Browser  

Regards,

Asad

2017-07-15 18-41-36
Sachin Mahawar
Solution

Hi, 

You can try this simple method also in a JavaScript to open a link in a new tab.

window.open("https://www.w3schools.com"); 

Sachin

2023-03-31 06-39-46
Asad Sheikh
Solution

Hi @Gayathri Gali

Go to link properties and in Attributes give target "_blank" it is working for me as I shown in the screenshot try in Chrome Browser  

Regards,

Asad

2017-07-15 18-41-36
Sachin Mahawar
Solution

Hi, 

You can try this simple method also in a JavaScript to open a link in a new tab.

window.open("https://www.w3schools.com"); 

Sachin

2022-07-14 13-58-54
Ridhima Shewani

@Gayathri Gali 

You can use JavaScript for that i.e., 

window.open('\ScreenName?Id='+ $parameters.Id,'blank')

If you are passing any Parameter then consider it as "Id" as I used in above expression


Regards 


UserImage.jpg
Gayathri Gali

Thanks, i used target="_blank" and it worked. So actually when I linked the link to client action and then kept destination to screen, it didn't work. When I kept the on click directly to a screen, then it worked.

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