How to use mailto link as URL

2717
5
Jump to solution
08-21-2020 09:44 AM
Min-HungChou
New Contributor II

I am using the Button widget and am trying to link the button to open up a new window to send an email. So far I have not been able to find success in this.

I set

Link to to Web Address

URL to mailto:example@organization.org

Open in tried all 3 options

Is there a correct format to do this, or it is simply not supported?

Thanks

Tags (1)
2 Solutions

Accepted Solutions
DavidMartinez
Esri Regular Contributor

Currently, the only way to add this is via the embed widget via code. For example, <a href="mailto:somebody@company.com ">Send email</a>. We have this logged as an issue for us to look at how we can improve this within Experience Builder.

    Thanks,   David

View solution in original post

TonghuiMing
Esri Regular Contributor

Starting from AGOL 10.3, you can configure mailto and some other URI schemes directly in the 'Set Link > URL' for widgets like Button, Image, etc. See details in:

https://doc.arcgis.com/en/experience-builder/latest/build-apps/add-widgets.htm#ESRI_SECTION1_0F7788F...

View solution in original post

0 Kudos
5 Replies
DavidMartinez
Esri Regular Contributor

Currently, the only way to add this is via the embed widget via code. For example, <a href="mailto:somebody@company.com ">Send email</a>. We have this logged as an issue for us to look at how we can improve this within Experience Builder.

    Thanks,   David

ECH_HDR
New Contributor

Unfortunately, the "code" section of the embed widget does not connect to the selected feature or to the data as far as I can tell, which makes this of limited usefulness. We need to have a different "mailto" link for every feature in our feature class. Is a custom widget our only remaining option?

0 Kudos
TonghuiMing
Esri Regular Contributor

Starting from AGOL 10.3, you can configure mailto and some other URI schemes directly in the 'Set Link > URL' for widgets like Button, Image, etc. See details in:

https://doc.arcgis.com/en/experience-builder/latest/build-apps/add-widgets.htm#ESRI_SECTION1_0F7788F...

0 Kudos
Irishgeoff
New Contributor

https://veilmail.io is good if you want to hide your email address as a URL

0 Kudos
Irishgeoff
New Contributor
0 Kudos