Combining text with clickable email address using mailto

Certified Associate Developer

Hi there,

I need to create on Interface, a text with a clickable email address. It should look like: For enquiries, please email emailaddress@company.com 

The email address should be interactive and clickable. After clicking on it, it should automatically open Outlook or other default Inbox and populate emailaddress@company.com in the 'To' field.

This is the code I started working on, but it looks like I'm missing something 

a!richTextItem(
text: concat("For enquiries please email ",
a!safeLink(
label: "emailaddress@company.com",
uri: "mailto://emailaddress@company.com"
)),
size: "MEDIUM"
)

Is it even achievable? Sounds simple, but I'm new to Appian, so I'm wondering if you can concat text and safelink together.

Any suggestions high appreciated.

Cheers,

  Discussion posts and replies are publicly visible

Parents Reply Children
No Data