3887
Views
9
Comments
Solved
Reactive App - How to open an external site in a new tab.
Question

I want to open a new tab when the user clicks a link. I am actually linking to a traditional web app but from what I can see, there is no way to bring in the public reference since this is a reactive app.

2026-03-09 12-26-51
Fábio Fantato
 
MVP
Solution

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

2021-07-14 09-27-33
Luís Cardoso

Fábio Fantato wrote:

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

Hello Fabio,


I try that before but forget the protocol http / https and it opens incorrect URL.


Thanks.


Br,

Luis

UserImage.jpg
Eric Hutcheson

Fábio Fantato wrote:

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

So in the context of my original question, is there a better way of building a URL for a traditional web app including screen variables to pass in other than building a string? Again this is a link from a reactive app to a traditional web app.


2021-06-09 13-39-18
Agno Silveira
 
MVP

Hello Eric,

Try this example:

Regards.

2021-07-14 09-27-33
Luís Cardoso

Agno Silveira wrote:

Hello Eric,

Try this example:

Regards.

Hello,
I test it in Reactive Web app but don't works. 


BR,

Luis


UserImage.jpg
Eric Hutcheson

Agno Silveira wrote:

Hello Eric,

Try this example:

Regards.

The link works differently in Reactive apps and there is no "Extended properties."


2021-07-14 09-27-33
Luís Cardoso

Hello,

Please see this topic: https://www.outsystems.com/forums/discussion/36495/open-url-in-browser-instead-of-mobile-app/

You can try to open with JS: window.open('https://www.google.com', '_system');

Also, send you an example oml in attachment.


BR,

Luis

ReactTest.oml
2026-03-09 12-26-51
Fábio Fantato
 
MVP
Solution

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

2021-07-14 09-27-33
Luís Cardoso

Fábio Fantato wrote:

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

Hello Fabio,


I try that before but forget the protocol http / https and it opens incorrect URL.


Thanks.


Br,

Luis

UserImage.jpg
Eric Hutcheson

Fábio Fantato wrote:

Hi Eric, in reactive web apps you can use the target as an attribute. I tested it and works for me.

Regards

Fabio

So in the context of my original question, is there a better way of building a URL for a traditional web app including screen variables to pass in other than building a string? Again this is a link from a reactive app to a traditional web app.


2020-02-07 09-04-54
Liesbeth

Dear OS community, 


I realize this post has been posted a year ago but it comes close to my problem. 

I want to open a link in a new tab. However, the link does not redirect to an URL but uses a client action. That client action redirects to the same page (different input parameter) that I want to open in the new tab. 


Hope to find a solution for this :) 


2018-03-26 21-02-10
Kit Lam

Liesbeth wrote:

Dear OS community, 


I realize this post has been posted a year ago but it comes close to my problem. 

I want to open a link in a new tab. However, the link does not redirect to an URL but uses a client action. That client action redirects to the same page (different input parameter) that I want to open in the new tab. 


Hope to find a solution for this :) 


 Hi Liesbeth,

I think you might use GetEntryURL (HTTPRequestHandler) to setup your URL with your module-, screenname and parameters.

And if you want to open the URL via a client action, someone else in the community already explaint this clearly, see https://www.outsystems.com/forums/discussion/40272/display-link-in-new-tab-from-client-action/

Hope this helps.

 

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