<?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: Attachments() Function in Web Map Symbology in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1365043#M56571</link>
    <description>&lt;P&gt;I'm seeing the same thing in Map Viewer on a layer with attachments enabled. I'd recommend opening a tech support ticket to get this addressed.&lt;/P&gt;&lt;P&gt;Based on what I'm seeing in the blog post below, it appears using Attachments() for symbology did work at one point in Map Viewer Classic but it no longer seems to work there either (returns "&lt;SPAN&gt;attachments is not available").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/" target="_blank"&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;</description>
    <pubDate>Fri, 29 Dec 2023 19:15:41 GMT</pubDate>
    <dc:creator>rwrenner_esri</dc:creator>
    <dc:date>2023-12-29T19:15:41Z</dc:date>
    <item>
      <title>Attachments() Function in Web Map Symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1364942#M56561</link>
      <description>&lt;P&gt;I am trying to set up an arcade expression in the layer symbology that will differentiate features with and without attachments. The Count(Attachments($feature)) part works great in a popup attribute expression and returns the necessary values but I am getting an error when trying to use the same code in the symbology expression. It is saying 'Attachments' is not defined.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's my code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;If(Count(Attachments($feature)) &amp;gt; 0) {
      // if count is greater than zero there are attachments
      return 'Has Attachments'
  } else {
      // otherwise the feature has been inspected but missing photos
      return 'No Attachments'
  }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;The funny part is, if I click run to test, it gives me the correct output but the Done button is grayed out.&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 12:47:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1364942#M56561</guid>
      <dc:creator>Tim-Woodfield</dc:creator>
      <dc:date>2023-12-29T12:47:24Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments() Function in Web Map Symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1365043#M56571</link>
      <description>&lt;P&gt;I'm seeing the same thing in Map Viewer on a layer with attachments enabled. I'd recommend opening a tech support ticket to get this addressed.&lt;/P&gt;&lt;P&gt;Based on what I'm seeing in the blog post below, it appears using Attachments() for symbology did work at one point in Map Viewer Classic but it no longer seems to work there either (returns "&lt;SPAN&gt;attachments is not available").&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.esri.com/arcgis-blog/products/arcgis-online/mapping/visualize-your-attachments-in-arcgis-online-with-arcade/" target="_blank"&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;</description>
      <pubDate>Fri, 29 Dec 2023 19:15:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1365043#M56571</guid>
      <dc:creator>rwrenner_esri</dc:creator>
      <dc:date>2023-12-29T19:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments() Function in Web Map Symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1365061#M56572</link>
      <description>&lt;P&gt;Thank you for the feedback! I'll submit a ticket&lt;/P&gt;</description>
      <pubDate>Fri, 29 Dec 2023 19:44:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1365061#M56572</guid>
      <dc:creator>Tim-Woodfield</dc:creator>
      <dc:date>2023-12-29T19:44:41Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments() Function in Web Map Symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1605552#M64422</link>
      <description>&lt;P&gt;Was this ever resolved? I'm finding the same issue ...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Apr 2025 06:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1605552#M64422</guid>
      <dc:creator>DarraghOSullivan</dc:creator>
      <dc:date>2025-04-14T06:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments() Function in Web Map Symbology</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1635987#M65717</link>
      <description>&lt;P&gt;Map Viewer still doesn't allow for the Attachments field to be used in symbology; however, I have begun creating a field called something like "ItemsAttached" and calculating that field in AGOL using Arcade to say 0 if there are none and then 1 for a yes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the arcade that I use when calculating:&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;var&lt;/SPAN&gt; &lt;SPAN&gt;hasAttachments&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;Count&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Attachments&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;)) &amp;gt; &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IIf&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;hasAttachments&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jul 2025 15:40:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-function-in-web-map-symbology/m-p/1635987#M65717</guid>
      <dc:creator>AlainaEllis1</dc:creator>
      <dc:date>2025-07-24T15:40:54Z</dc:date>
    </item>
  </channel>
</rss>

