Hi,
i'm trying to create a custom expression in a popup in web map for a mailto function.
the mailto function is working fine in the web app (created in web app builder) but i would like to add a bold red color to a field in the email body:
var recipient = 123@gmail.com
var subject = "test email"
var body = "Location: " + $feature["LOCATION"] + TextFormatting.NewLine + "Phone: " + $feature["phone_number"]
var mailtolink = Concatenate(mailto:, recipient, "?subject=", URLEncode(subject), "&body=", URLEncode(body));
return mailtolink
---------->
when a user click the mailto link in a popup. i would like the email body looks like this in outlook:
Location: California
Phone: 123-555-8888
how can i insert the color and bold text properties?
I have tried <br> html code in the expression but it didn't work : (
thanks!!
W