Story Maps Mailto: button?

180
6
Jump to solution
09-29-2021 05:58 AM
ahagopian_coj
New Contributor III

Hello!

I saw this story map that there is the ability to format the button to open an email.  I have tried and failed to do this. Is there a how to article or some trick to getting this to work?  Thanks!

https://storymaps.arcgis.com/stories/fdb2a1493e3447fb850ff8f73a031ba4

Tags (2)
1 Solution

Accepted Solutions
OwenGeo
Esri Notable Contributor

Creating a button to send an email is simply a matter of using the mailto: link protocol. You can find lots of references on the web for how to do this by searching "email link" or something similar.

Instead of https:[URL] followed by a URL, you simply enter mailto:[email-address].

For example... mailto:example@myorg.com

Owen Evans
Lead Product Engineer | StoryMaps

View solution in original post

0 Kudos
6 Replies
JohnD_CLN
New Contributor II

https://storymaps.arcgis.com/stories/fdb2a1493e3447fb850ff8f73a031ba4

Does anyone at Esri know the Esri Canada office telephone number? I will be happy to call them and ask how they embeded the mailto into a button. Merci

 

 

0 Kudos
OwenGeo
Esri Notable Contributor

Creating a button to send an email is simply a matter of using the mailto: link protocol. You can find lots of references on the web for how to do this by searching "email link" or something similar.

Instead of https:[URL] followed by a URL, you simply enter mailto:[email-address].

For example... mailto:example@myorg.com

Owen Evans
Lead Product Engineer | StoryMaps
0 Kudos
JohnD_CLN
New Contributor II

<a href="mailto:"email@.me.com">Click</a><a href="mailto:"email@.me.com">Click</a>

0 Kudos
JohnD_CLN
New Contributor II

I cannot write the necessary code into the button properties <a href="mailto:email@me.com">Click</a>

0 Kudos
OwenGeo
Esri Notable Contributor

@JohnD_CLN -- There's no code needed other than the mailto link. Just insert a BUTTON block from the block palette, click the EDIT button to edit the button link, then paste in the mailto link.

Screen Shot 2022-06-20 at 2.16.29 PM.jpg

Screen Shot 2022-06-20 at 2.17.54 PM.jpg

Screen Shot 2022-06-20 at 2.17.11 PM.jpg

Owen Evans
Lead Product Engineer | StoryMaps
0 Kudos
JohnD_CLN
New Contributor II

Gotcha ......  I write code so I try placing <a href="email info">Click Me</a> into the button. FYI (for everyone) it does not work.....my bad. I over thought the issue.