<?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 Arcgis Pro missing Layer ID in Esri Tutorials Questions</title>
    <link>https://community.esri.com/t5/esri-tutorials-questions/arcgis-pro-missing-layer-id/m-p/1260333#M755</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to follow a tutorial using arcade to find a list of points near a polygon (&lt;/SPAN&gt;&lt;A href="https://learn.arcgis.com/en/projects/build-an-app-to-expand-food-access/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://learn.arcgis.com/en/projects/build-an-app-to-expand-food-access/&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; in the "Stores near markets" section), except with different data and in arcgis pro. For the FeatureSetById to work for my layer, I need a layer ID. How do I find it in ArcGIS pro?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I followed the steps to assign a layerID (&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/assign-layer-ids.htm" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/assign-layer-ids.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;) but I ended up with a layer ID of "2" and it didn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this layer ID doesn't exist/work in ArcGIS pro, how else would I be able to use arcade to find a list of points near/within a polygon?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;code sample from the tutorial:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var retail_layer = FeatureSetById($map, /* SNAP Store Locations */ "178f065ba89-layer-82")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var radius = Buffer($feature,.75,"miles")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var nearby_stores = Intersects(retail_layer,radius)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var retail_list = ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for (var k in nearby_stores){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;retail_list += k.Store_Name + TextFormatting.NewLine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return retail_list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my polygon layer: &lt;A href="https://naturalengland-defra.opendata.arcgis.com/datasets/national-parks-england/explore?location=55.122476%2C-49.875730%2C5.78" target="_blank" rel="noopener"&gt;https://naturalengland-defra.opendata.arcgis.com/datasets/national-parks-england/explore?location=55.122476%2C-49.875730%2C5.78&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my points layer: gis_osm_transport_free_1.shp from the shapefile zipped folder here &lt;A href="http://download.geofabrik.de/europe/great-britain/england.html" target="_blank" rel="noopener"&gt;http://download.geofabrik.de/europe/great-britain/england.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Feb 2023 03:00:51 GMT</pubDate>
    <dc:creator>junocs</dc:creator>
    <dc:date>2023-02-22T03:00:51Z</dc:date>
    <item>
      <title>Arcgis Pro missing Layer ID</title>
      <link>https://community.esri.com/t5/esri-tutorials-questions/arcgis-pro-missing-layer-id/m-p/1260333#M755</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi everyone!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am trying to follow a tutorial using arcade to find a list of points near a polygon (&lt;/SPAN&gt;&lt;A href="https://learn.arcgis.com/en/projects/build-an-app-to-expand-food-access/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://learn.arcgis.com/en/projects/build-an-app-to-expand-food-access/&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt; in the "Stores near markets" section), except with different data and in arcgis pro. For the FeatureSetById to work for my layer, I need a layer ID. How do I find it in ArcGIS pro?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I followed the steps to assign a layerID (&lt;/SPAN&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/assign-layer-ids.htm" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;https://pro.arcgis.com/en/pro-app/latest/help/sharing/overview/assign-layer-ids.htm&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;) but I ended up with a layer ID of "2" and it didn't work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If this layer ID doesn't exist/work in ArcGIS pro, how else would I be able to use arcade to find a list of points near/within a polygon?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;code sample from the tutorial:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var retail_layer = FeatureSetById($map, /* SNAP Store Locations */ "178f065ba89-layer-82")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var radius = Buffer($feature,.75,"miles")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var nearby_stores = Intersects(retail_layer,radius)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var retail_list = ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;for (var k in nearby_stores){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;retail_list += k.Store_Name + TextFormatting.NewLine&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;return retail_list&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my polygon layer: &lt;A href="https://naturalengland-defra.opendata.arcgis.com/datasets/national-parks-england/explore?location=55.122476%2C-49.875730%2C5.78" target="_blank" rel="noopener"&gt;https://naturalengland-defra.opendata.arcgis.com/datasets/national-parks-england/explore?location=55.122476%2C-49.875730%2C5.78&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;my points layer: gis_osm_transport_free_1.shp from the shapefile zipped folder here &lt;A href="http://download.geofabrik.de/europe/great-britain/england.html" target="_blank" rel="noopener"&gt;http://download.geofabrik.de/europe/great-britain/england.html&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 03:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-tutorials-questions/arcgis-pro-missing-layer-id/m-p/1260333#M755</guid>
      <dc:creator>junocs</dc:creator>
      <dc:date>2023-02-22T03:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Arcgis Pro missing Layer ID</title>
      <link>https://community.esri.com/t5/esri-tutorials-questions/arcgis-pro-missing-layer-id/m-p/1260558#M756</link>
      <description>&lt;P&gt;To find the layerID of a layer in ArcGIS Online that is being used in Pro, one way to do this is to look at the last part of the path when adding the layer, as in the screenshot here:&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FindLayerIDinPro.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/63440i728FEC54B76CBA04/image-size/large?v=v2&amp;amp;px=999" role="button" title="FindLayerIDinPro.png" alt="FindLayerIDinPro.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You might not need to use Arcade though, if you're working in Pro. Pro has select by location. You can select the points that fall within the polygon that way.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Feb 2023 17:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/esri-tutorials-questions/arcgis-pro-missing-layer-id/m-p/1260558#M756</guid>
      <dc:creator>DianaCLavery</dc:creator>
      <dc:date>2023-02-22T17:21:31Z</dc:date>
    </item>
  </channel>
</rss>

