<?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: Popups: FeatureSet by URL? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1338194#M74026</link>
    <description>&lt;P&gt;Ah, the layer item parameter was what I was missing.&lt;/P&gt;&lt;P&gt;I was expecting to use like, itemID/indexnumber or itemID&amp;amp;sublayer=indexnumber.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 16 Oct 2023 13:29:01 GMT</pubDate>
    <dc:creator>AlfredBaldenweck</dc:creator>
    <dc:date>2023-10-16T13:29:01Z</dc:date>
    <item>
      <title>Arcade: Popups: FeatureSet by URL?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1337553#M73966</link>
      <description>&lt;P&gt;Working on a popup. I'd like it to reference an item in a portal. Unfortunately, the item I want is a map image service, so while the service itself has an item id, the layers within do not. I can add the individual layers directly to my map using the REST URL, but I can't access them with Arcade, as best I can tell.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to access a feature service using its URL, rather than portal id?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 22:43:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1337553#M73966</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-10-12T22:43:18Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade: Popups: FeatureSet by URL?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1337660#M73970</link>
      <description>&lt;P&gt;You're very much on the right track. The function you want is FeaturesetByPortalItem, and then make sure to feed in the layer id parameter.&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem" target="_blank" rel="noopener"&gt;https://developers.arcgis.com/arcade/function-reference/portal_functions/#featuresetbyportalitem&lt;/A&gt;&lt;/P&gt;&lt;P&gt;So for example, if you had a feature/map layer that had Trees, Playgrounds, and Parks, and their layer ids were, respectively, [0], [1], and [2], and you wanted to access Parks, your function would read:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;var parks = FeatureSetByPortalItem( Portal('&amp;lt;portal url&amp;gt;'), '&amp;lt;item ID&amp;gt;', 2);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;edit: correct name of function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Oct 2023 12:33:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1337660#M73970</guid>
      <dc:creator>ZachBodenner</dc:creator>
      <dc:date>2023-10-13T12:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade: Popups: FeatureSet by URL?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1338194#M74026</link>
      <description>&lt;P&gt;Ah, the layer item parameter was what I was missing.&lt;/P&gt;&lt;P&gt;I was expecting to use like, itemID/indexnumber or itemID&amp;amp;sublayer=indexnumber.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2023 13:29:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-popups-featureset-by-url/m-p/1338194#M74026</guid>
      <dc:creator>AlfredBaldenweck</dc:creator>
      <dc:date>2023-10-16T13:29:01Z</dc:date>
    </item>
  </channel>
</rss>

