<?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 Use Arcade expression to identify active layers? in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/use-arcade-expression-to-identify-active-layers/m-p/1615929#M64787</link>
    <description>&lt;P&gt;Is there a way to either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;have Arcade identify if a layer is active in the map or not?&lt;/LI&gt;&lt;LI&gt;limit an intersect expression to active layers?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Background:&amp;nbsp;I have built an experience which guides the user through the following workflow:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Choose theme (1 of 3 bookmarks.&amp;nbsp;All of them includes the same layersources for administrative areas and zones, but with different filters.)&lt;/LI&gt;&lt;LI&gt;Search for their address (search widget based on adress point layer)&lt;/LI&gt;&lt;LI&gt;Get result:&amp;nbsp;&lt;OL&gt;&lt;LI&gt;visually in map with selected theme&lt;/LI&gt;&lt;LI&gt;textwise through popup that tells:&amp;nbsp;&lt;OL&gt;&lt;LI&gt;which theme is chosen&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;attribute value from administrative area (which field depends on theme chosen)&lt;/LI&gt;&lt;LI&gt;if point is within in active zone layer or not.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I'm having trouble with the popup. My expressions returns the same answers whether the layers are active in the map or not.&amp;nbsp;I have configured popups for the zones and administrative areas in each theme, but I'd prefer to turn them off in favour of a popup on the adresslayer. The user would then get all info at once, no clicking needed.&lt;/P&gt;&lt;P&gt;I have considered cloning the address layer. Then I could create one configured popup for every theme/bookmark. However, that would not work with opening the address layer popup as a direct result of the address search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw: None of the polygon layers has one field with exclusive values for every theme.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 19 May 2025 11:46:35 GMT</pubDate>
    <dc:creator>GisAsa</dc:creator>
    <dc:date>2025-05-19T11:46:35Z</dc:date>
    <item>
      <title>Use Arcade expression to identify active layers?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/use-arcade-expression-to-identify-active-layers/m-p/1615929#M64787</link>
      <description>&lt;P&gt;Is there a way to either:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;have Arcade identify if a layer is active in the map or not?&lt;/LI&gt;&lt;LI&gt;limit an intersect expression to active layers?&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Background:&amp;nbsp;I have built an experience which guides the user through the following workflow:&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Choose theme (1 of 3 bookmarks.&amp;nbsp;All of them includes the same layersources for administrative areas and zones, but with different filters.)&lt;/LI&gt;&lt;LI&gt;Search for their address (search widget based on adress point layer)&lt;/LI&gt;&lt;LI&gt;Get result:&amp;nbsp;&lt;OL&gt;&lt;LI&gt;visually in map with selected theme&lt;/LI&gt;&lt;LI&gt;textwise through popup that tells:&amp;nbsp;&lt;OL&gt;&lt;LI&gt;which theme is chosen&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;attribute value from administrative area (which field depends on theme chosen)&lt;/LI&gt;&lt;LI&gt;if point is within in active zone layer or not.&amp;nbsp;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I'm having trouble with the popup. My expressions returns the same answers whether the layers are active in the map or not.&amp;nbsp;I have configured popups for the zones and administrative areas in each theme, but I'd prefer to turn them off in favour of a popup on the adresslayer. The user would then get all info at once, no clicking needed.&lt;/P&gt;&lt;P&gt;I have considered cloning the address layer. Then I could create one configured popup for every theme/bookmark. However, that would not work with opening the address layer popup as a direct result of the address search.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Btw: None of the polygon layers has one field with exclusive values for every theme.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 11:46:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/use-arcade-expression-to-identify-active-layers/m-p/1615929#M64787</guid>
      <dc:creator>GisAsa</dc:creator>
      <dc:date>2025-05-19T11:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use Arcade expression to identify active layers?</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/use-arcade-expression-to-identify-active-layers/m-p/1623772#M65091</link>
      <description>&lt;P&gt;Update: Ended up using section instead of bookmarks. One view and map-object for each theme. It works great.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:57:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/use-arcade-expression-to-identify-active-layers/m-p/1623772#M65091</guid>
      <dc:creator>mbla</dc:creator>
      <dc:date>2025-06-16T07:57:14Z</dc:date>
    </item>
  </channel>
</rss>

