675
Views
8
Comments
Solved
Redirect to URL placing environment name and app name before
Question
Application Type
Reactive

Hello. I have a table, this table has a link to open a URL in another tab... lets say i have the url to be "www.google.pt".
when i redirect, it goes to myenv/appname/www.google.pt
How can i change that?

All help is appreciated! :)

2021-11-18 18-03-41
AJ.
Solution

Hello @Ricardo Filipe Melo Figueiredo 

You just need to add "https://" before the "www.google.com" in your example.

For e.g. "https://www.google.com" will work when you redirect the url.

Reference: https://www.outsystems.com/forums/discussion/56889/why-when-i-use-externalurl-it-add-the-module-name-before-the-given-url/ 

Regards,

AJ

2021-12-29 03-29-46
Ricardo Figueiredo

I didnt knew this behaviour before. But this made it! Thanks :)

2021-08-12 11-00-27
Nordin Ahdi
 
MVP

Hi Ricardo,

Can you share a screenshot of your current flow and the details of the RedirectToURL node?

Regards,

Nordin

2021-12-29 03-29-46
Ricardo Figueiredo


2021-09-21 09-26-31
Aadhavan Shanmugam

Hi @Ricardo Filipe Melo Figueiredo,

You can use JavaScript into your onclick action to open URL in the new tab

window.open("https://www.google.pt");


or you have to apply target to your link. like below

Thanks, Aadhavan S

2021-12-29 03-29-46
Ricardo Figueiredo

I am doing the second one, but not going into google though, it places envname/appname before the www.google.pt

2021-09-21 09-26-31
Aadhavan Shanmugam

It seems there is an issue with your condition in URL

Can you paste full value of the url or attach your oml to understand the issue.

2021-12-29 03-29-46
Ricardo Figueiredo

Seems i had to place "https://" before.. Thanks anyway! :) 

2021-11-18 18-03-41
AJ.
Solution

Hello @Ricardo Filipe Melo Figueiredo 

You just need to add "https://" before the "www.google.com" in your example.

For e.g. "https://www.google.com" will work when you redirect the url.

Reference: https://www.outsystems.com/forums/discussion/56889/why-when-i-use-externalurl-it-add-the-module-name-before-the-given-url/ 

Regards,

AJ

2021-12-29 03-29-46
Ricardo Figueiredo

I didnt knew this behaviour before. But this made it! Thanks :)

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