<?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: Getting exif information from a photo in a pop-up using arcade in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/getting-exif-information-from-a-photo-in-a-pop-up/m-p/1580712#M7409</link>
    <description>&lt;P&gt;Turns out I needed to delve into the return a bit more .&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;features&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'tags'&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;]; does the job.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 31 Jan 2025 00:31:53 GMT</pubDate>
    <dc:creator>MarcusToyne</dc:creator>
    <dc:date>2025-01-31T00:31:53Z</dc:date>
    <item>
      <title>Getting exif information from a photo in a pop-up using arcade</title>
      <link>https://community.esri.com/t5/developers-questions/getting-exif-information-from-a-photo-in-a-pop-up/m-p/1580288#M7408</link>
      <description>&lt;P&gt;I am hoping someone can help me. I am trying to get exif information from photo attachments for use in a pop-up. Mainly the date the photo was taken.&lt;/P&gt;&lt;P&gt;I am using this code snippet, repurposed from the support site, but am not having any luck as it just returns nulls.&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;var features = [];&lt;BR /&gt;var att = attachments($feature, {metadata: True});&lt;BR /&gt;if (count(att) &amp;gt; 0) {&lt;/P&gt;&lt;P class="lia-indent-padding-left-60px"&gt;for (var a in att) {&lt;BR /&gt;push(features, att[a].exifinfo)&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px"&gt;}}&lt;BR /&gt;return features;&lt;/P&gt;&lt;P&gt;If I change att[a].exifinfo to att[a].name, I get a result (see image). I am at a loss so any help would be greatly appreciated. Thanks&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-01-30 115339.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/124333i7D0BD75972BEFDC4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-01-30 115339.png" alt="Screenshot 2025-01-30 115339.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 02:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/getting-exif-information-from-a-photo-in-a-pop-up/m-p/1580288#M7408</guid>
      <dc:creator>MarcusToyne</dc:creator>
      <dc:date>2025-01-30T02:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Getting exif information from a photo in a pop-up using arcade</title>
      <link>https://community.esri.com/t5/developers-questions/getting-exif-information-from-a-photo-in-a-pop-up/m-p/1580712#M7409</link>
      <description>&lt;P&gt;Turns out I needed to delve into the return a bit more .&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;return&lt;/SPAN&gt; &lt;SPAN&gt;features&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'tags'&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;][&lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;]; does the job.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 31 Jan 2025 00:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/getting-exif-information-from-a-photo-in-a-pop-up/m-p/1580712#M7409</guid>
      <dc:creator>MarcusToyne</dc:creator>
      <dc:date>2025-01-31T00:31:53Z</dc:date>
    </item>
  </channel>
</rss>

