<?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: Arcade- '$Map Not Defined' inside Popup expression in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620926#M42352</link>
    <description>&lt;P&gt;Figured it out, and I don't believe this is documented (but I could be wrong). The layer I was using in my map was a MapServer service instead of a FeatureServer service. If I tried this with the FeatureServer service, I see the $ variables I would expect to find.&lt;/P&gt;&lt;P&gt;I was using the MapServer option because of the desire to preserve some hatch symbology used on a layer with M values. The more you know...&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jun 2025 18:28:59 GMT</pubDate>
    <dc:creator>SteveCole</dc:creator>
    <dc:date>2025-06-04T18:28:59Z</dc:date>
    <item>
      <title>Arcade- '$Map Not Defined' inside Popup expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620918#M42351</link>
      <description>&lt;P&gt;I'm clearly missing something here. Using Portal 11.3 and, for a map layer's popup content, I've added an Arcade Expression Block. When I attempt to access the $map profile variable inside that Arcade code block, Arcade barks and says that it's not defined. Through searching the forum, I did find &lt;A href="https://community.esri.com/t5/arcgis-online-questions/using-featuresetbyname-map-identifier-not/m-p/1587152#M63704" target="_blank" rel="noopener"&gt;a discussion&lt;/A&gt; about the variable profile context and that $map is only defined (available) in certain situations. I feel as though it should be accessible from where I'm trying to reference it. But clearly it's not.&lt;/P&gt;&lt;P&gt;The only $ profile variables available to me are $feature, $graph, and $userInput&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:04:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620918#M42351</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2025-06-04T18:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade- '$Map Not Defined' inside Popup expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620926#M42352</link>
      <description>&lt;P&gt;Figured it out, and I don't believe this is documented (but I could be wrong). The layer I was using in my map was a MapServer service instead of a FeatureServer service. If I tried this with the FeatureServer service, I see the $ variables I would expect to find.&lt;/P&gt;&lt;P&gt;I was using the MapServer option because of the desire to preserve some hatch symbology used on a layer with M values. The more you know...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 18:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620926#M42352</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2025-06-04T18:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade- '$Map Not Defined' inside Popup expression</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620960#M42353</link>
      <description>&lt;P&gt;So does your response mean you need to access the object via a feature service as opposed to the mapservice?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 19:15:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/arcade-map-not-defined-inside-popup-expression/m-p/1620960#M42353</guid>
      <dc:creator>MichaelVolz</dc:creator>
      <dc:date>2025-06-04T19:15:18Z</dc:date>
    </item>
  </channel>
</rss>

