177
Views
8
Comments
Text to clickable link

Hello, I am developing a reactive application where i send users email.

The body of the email will include a link. 

The body of the email is created by storing strings into a text local variable which will look something like: 


Report is approved, please click: link  

I am able to get the url address for the link but it does not return as a clickable link. is there any function to convert a string into a clickable link? thank you

2025-02-04 10-17-42
Shreelakshmi N S
Champion

Hi @Low Nico ,

Instead of keeping the link address inside the text variable, put it as a separate expression or a text and link it to the screen (if it has to navigate to a screen) or use Redirect URL and give the link address to URL. This needs to be done inside the Email screen.

Regards,

Shree


2024-05-18 23-16-58
Simone Lopes

You can add the text as a link using de widget link 


if necessary to open in another tab, you can create a client action (as TesteOnClick) adding a script inside. The client action needs a input parameter


window.open($parameters.URL, '_blank');

2024-02-22 07-37-50
Nikhil Kawde

Hi @Low Nico , 

You can simply select the text the text you want to link, press the right click on your mouse and select the link to option.


OR


If you are using a local variable for the text, then just right click on the expression and do the same.

Refer to the attached screenshots and let me know if it helps.


Thanks,

Nikhil Kawde

ss01.png
ss02.png
ss03.png
2022-12-30 09-46-57
Deepika Patel

Hi,

In the email, you can link the text to the External URL and give the link address to URL (input variable).

Hope this helps!

Thanks,


2025-10-18 11-13-53
Ramesh subramanian

Hi ,

Please use HTML tag create string like <a href="url">link text</a> 

2024-05-14 05-39-17
Jothikarthika - EONE

Hi Low Nico,

You can accomplish this using the HTML anchor tag element within the OutSystems widget. 

  • Drag the HTMLElement onto the canvas.
  • Change the tag name to "a".
  • Add the href attribute value.href="https://www.google.com/"
  • Place a Text widget inside the HTMLElement widget.

I have also attached the OML file for your reference. 

testing.oml
2024-08-08 07-20-58
Tejas Mahale

You can either do it by writing a text or an expression and wrapping it with a link. That's it hope it helps.


Regards,

Tejas Mahale

UserImage.jpg
Ojasvi Sharma

Hi @Low Nico , 

You can write the text and then right click while selecting the text, you will see the "covert to expression" option on the opened dialog box, then select the expression widget and again right click it and select "link to" option. 

Then you can link it to actions or screen whatever you want. 

I hope this solution will help you. 

Thank you. 

With regards, 

Ojasvi Sharma

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