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
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
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');
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
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!
Hi ,
Please use HTML tag create string like <a href="url">link text</a>
Hi Low Nico,
You can accomplish this using the HTML anchor tag element within the OutSystems widget.
I have also attached the OML file for your reference.
You can either do it by writing a text or an expression and wrapping it with a link. That's it hope it helps.
Tejas Mahale
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