1550
Views
7
Comments
display link in new tab from client action
Discussion

Hi 


I am trying to open a link in a new tab. I am using screen  action as a my destination and then using Extended URL.  In my extended properties for the link I used  target = "_blank". But it is not working. Does anyone have a solution for this.

2018-03-09 01-38-37
Ye Yint

Hi, use Common\External URL as destination.


UserImage.jpg
Mercy A

Ye Yint wrote:

Hi, use Common\External URL as destination.



Yes this works if the link destination is a web screen. But in my case link destionation is a screen action and I have to do this task in the screen action. Anyways I was able to find a solution after many tries. I was able to navigate to a new window from my screen action.I used window.open() java script. In extended properties I have given onclick, and assigned
"window.open('MyURL link','blank')". This worked for me.. Thanks all for your answers

UserImage.jpg
Chris Laurie

For anybody wondering what this actually looks like:

2022-01-12 20-20-59
Jhonatan Carvalho

Thanks a lot, this is very helpful

UserImage.jpg
pratiksha sahu

We can also simply  Peform the javascript , instead of  providing Url to the input , can directly use it in the javascript , It does work this way: 

 On onclick action - window.open('https://google.com(Your URL)', '_blank');

I am attaching screenshot for reference:


2022-09-05 13-52-13
Omar Bashmail

Do not forget to add an input parameter for javascript. Also, when you add URL you must add http first.

2023-03-16 04-58-56
Ashish Lonkar

Thanks Omar !

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