3053
Views
10
Comments
Open link in new tab/screen from screen action
Question
I've searched the forums for this, but can't find a satisfactive answer (i.e. one that works): if a Link on a web screen has a screen action as destination, in which some processing is done (some query or the like) followed by a Destination to somewhere else, is it possible to open that destination in a new tab/screen? Obvioulsy I tried a target _blank in the Link's extended properties, but that doesn't work.

EDIT: I prefer a straight, elegant solution. So no WidgetClick from the called screen action, or having the processing done in the Preperation for all records, etc.
2012-03-16 12-21-09
João Rosado
Staff
Hi Kilian,

Don't think that is possible.
That would mean that the server could decide to open windows and tabs at will on a redirect, and that is usualy something that could be used to do Advertise popups  ..things that browsers/web standards like to prevent.

Think that the only answer here is actually the WidgetClick or a RunJavascript ..and even that you will have to check if it's not blocked by AdBlockers.

Regards,
João Rosado
2020-09-15 13-07-23
Kilian Hekhuis
 
MVP
Well, this is in a corporate situation, so I'm not worried about adblockers (we could enforce pop-ups are allowed from intranet websites). But if it's not possible to do elegantly, I'll try the more dirty options. Thanks.
UserImage.jpg
Mercy A

Hi Kilan,

i am facing the same situation. Did you find a solution for this?Please let me know..

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Mercy,

I don't think I did, but since the question is almost four years old, I don't have any recollection of it :). I think that indeed a hidden link + widget click (from RichWidgets) is the least bad solution.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Alberto,

The original post was about opening a new window from a Screen Action redirect. Your link points to the "_blank" solution, which cannot be used in that case.

UserImage.jpg
Mercy A

Kilian Hekhuis wrote:

Alberto,

The original post was about opening a new window from a Screen Action redirect. Your link points to the "_blank" solution, which cannot be used in that case.

Hi Kilian

I think at last found a solution. 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

2018-11-21 17-31-38
Priya Khade

Hello,


Can somebody help me with this issue on how to open in new tab through screen action?

UserImage.jpg
Gonçalo Oliveira

Hello Priya,


In this post there are some solutions for what you want to do, the easiest solution is to have a hidden button with the target "blank_" and use widget click in the screen action.


With the best regards,

Gonçalo

UserImage.jpg
pratiksha sahu
Please refer to this link for opening a URL in new tab in reactive : https://www.outsystems.com/forums/discussion/40272/display-link-in-new-tab-from-client-action/#Post362556
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.