<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Attach photo to email in custom email popup in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142352#M6996</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To&amp;nbsp;provide some additional info, there is a nice video posted by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/59858"&gt;Jennifer Bell&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=MzfxBskoon8"&gt;https://www.youtube.com/watch?v=MzfxBskoon8&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 May 2019 20:10:24 GMT</pubDate>
    <dc:creator>XanderBakker</dc:creator>
    <dc:date>2019-05-09T20:10:24Z</dc:date>
    <item>
      <title>Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142345#M6989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a custom email popup within a web map. It uses the 'mailto:' protocol to achieve this, similar to what is in this link:&amp;nbsp; &lt;A class="link-bare" href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/send-email-from-web-map-pop-ups/" title="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/send-email-from-web-map-pop-ups/"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/send-email-from-web-map-pop-ups/&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;. I have also been able to use some arcade functions as well to grab things such as local time, lat and long, and other information to populate the email. What I want to do is attach the photos in the popup, into the email that is generated. I know Arcade has an attachment function, but is used to get attachments counts and properties (size, etc.). Has anyone accomplished this feat yet?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 18:52:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142345#M6989</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-09T18:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142346#M6990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think this is possible in a single mailto url. The &lt;A href="https://developers.arcgis.com/arcade/function-reference/data_functions/#attachments"&gt;Attachments&lt;/A&gt; function will get you a collection of &lt;A href="https://developers.arcgis.com/arcade/guide/types/#attachment"&gt;Attachment&lt;/A&gt;s that will provide access to the name and ID of the &lt;A href="https://developers.arcgis.com/arcade/guide/types/#attachment"&gt;attachment&lt;/A&gt;, but how will you attach the&amp;nbsp;file to the email?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also this blog:&amp;nbsp;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/"&gt;https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 19:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142346#M6990</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-09T19:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142347#M6991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Xander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was hoping there was some way through arcade to maybe get the BLOB information from the attachment, and place it in the email with an alias, or as an attachment to the email.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 19:40:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142347#M6991</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-09T19:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142348#M6992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't seen this type of functionality before, but it would be nice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 19:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142348#M6992</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-09T19:47:36Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142349#M6993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I figured I would put it out there. Thanks for the quick response!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 19:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142349#M6993</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-09T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142350#M6994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There would be another challange... I just saw this post on Stack Overflow:&amp;nbsp;&amp;nbsp;&lt;A href="https://stackoverflow.com/questions/5233556/using-mailto-to-send-email-with-an-attachment"&gt;https://stackoverflow.com/questions/5233556/using-mailto-to-send-email-with-an-attachment&lt;/A&gt;&amp;nbsp;which mentions that the mailto could (should) link to a URL. If you would be able to construct the link to the attachment (I assume using the ID propperty of the attachment) it will likely need a token to access the URL and tokens expire.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 20:00:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142350#M6994</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-09T20:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142351#M6995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, I saw that too. I have done this using desktop, with a feature service on our ArcServer environemnt, and a python script. But to do it using pure AGOL seems to not be there yet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 20:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142351#M6995</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-09T20:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142352#M6996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To&amp;nbsp;provide some additional info, there is a nice video posted by&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/59858"&gt;Jennifer Bell&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=MzfxBskoon8"&gt;https://www.youtube.com/watch?v=MzfxBskoon8&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 20:10:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142352#M6996</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-09T20:10:24Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142353#M6997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/258158"&gt;Scott Evans&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what I have found out:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;It will not be possible to include an attachment from a simple href mailto link&lt;/LI&gt;&lt;LI&gt;You can however, include a link to the attachment so that the receiver con open the attachment&lt;/LI&gt;&lt;LI&gt;The attachments (hosted feature service) &lt;SPAN style="text-decoration: underline;"&gt;should be publically shared&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;I tried including a script in the pop-up window that creates the mailto link and use a button with a new window to open the link, but the script is stripped from the pop-up window and will not work&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is what is returned:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="257" src="https://community.esri.com/legacyfs/online/447257_pastedImage_2.png" width="558" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;... with a simple mailto link like this:&lt;/P&gt;&lt;PRE class="line-numbers language-markup"&gt;&lt;CODE&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;&lt;/SPAN&gt;a&lt;/SPAN&gt; &lt;SPAN class="attr-name token"&gt;href&lt;/SPAN&gt;&lt;SPAN class="attr-value token"&gt;&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;mailto:someone@somewhere.com?subject&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;my report&amp;amp;amp;body&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;see attachment: {expression/expr0}&amp;amp;amp;attachment&lt;SPAN class="punctuation token"&gt;=&lt;/SPAN&gt;{expression/expr0}&lt;SPAN class="punctuation token"&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;Send email&lt;SPAN class="token tag"&gt;&lt;SPAN class="token tag"&gt;&lt;SPAN class="punctuation token"&gt;&amp;lt;/&lt;/SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 May 2019 21:15:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142353#M6997</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-09T21:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142354#M6998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. The issue is that the feature services are mostly non-public. This creates the other issue of the tokens... I am thinking at this point it might not be possible, unless I bring the application into a development environment and go from there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 12:06:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142354#M6998</guid>
      <dc:creator>ScottEvans6</dc:creator>
      <dc:date>2019-05-10T12:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Attach photo to email in custom email popup</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142355#M6999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My idea exactly&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 May 2019 15:06:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attach-photo-to-email-in-custom-email-popup/m-p/142355#M6999</guid>
      <dc:creator>XanderBakker</dc:creator>
      <dc:date>2019-05-10T15:06:50Z</dc:date>
    </item>
  </channel>
</rss>

