Is there a way to make an email address clickable that opens default email client. I am testing this on my local and it works fine. But when I promote code to server it does not work.
java.awt.Desktop.getDesktop().mail(new java.net.URI("mailTo:"+ user.Contact.EmailAddress1))
I'm assuming that java.getDesktop is not available on server side? Is there another way to do this in Guidewire?
If you have the email address in a TextInput control, just pick the formatType email
from the control properties.
If the control would be in read-only state it will display appropriate link starting from mailto:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.