<?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: Best practice for multiple FeatureLayer URLs in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303551#M81547</link>
    <description>&lt;P&gt;Have you considered the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html" target="_self"&gt;GroupLayer&lt;/A&gt; type?&amp;nbsp; It might be a viable solution for what you're trying to accomplish.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 19:31:55 GMT</pubDate>
    <dc:creator>JoelBennett</dc:creator>
    <dc:date>2023-06-27T19:31:55Z</dc:date>
    <item>
      <title>Best practice for multiple FeatureLayer URLs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303487#M81545</link>
      <description>&lt;P&gt;Hello all.&amp;nbsp;&amp;nbsp;&amp;nbsp; I have a situation where I want to add 'basemap' trails to a Webapp.&amp;nbsp; however,&amp;nbsp; it looks like there is no existing compilation of the multitude of trails,&amp;nbsp; only individually Hosted feature services for each trail.&lt;/P&gt;&lt;P&gt;I'm assuming there is no way to include a list/array of service URLs to one new FeatureLayer variable?&lt;/P&gt;&lt;P&gt;or is there a practice of creating a separate JS file listing the multitude of service URLs then Source that file?&lt;/P&gt;&lt;P&gt;I would merge the published trail Features myself and host them in AGOL as one Service,&amp;nbsp; but I cannot download the Service features locally.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 17:30:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303487#M81545</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-06-27T17:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for multiple FeatureLayer URLs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303551#M81547</link>
      <description>&lt;P&gt;Have you considered the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-GroupLayer.html" target="_self"&gt;GroupLayer&lt;/A&gt; type?&amp;nbsp; It might be a viable solution for what you're trying to accomplish.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 19:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303551#M81547</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2023-06-27T19:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for multiple FeatureLayer URLs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303565#M81548</link>
      <description>&lt;P&gt;If the layers you want to use do not change frequently, you could use the &lt;A href="https://doc.arcgis.com/en/arcgis-online/analyze/merge-layers-mv.htm" target="_blank" rel="noopener"&gt;Merge Layers tool&lt;/A&gt; in AGO. This tool consumes credits and the output will count for data storing credit usage.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another option is to use &lt;A href="https://support.esri.com/en-us/knowledge-base/how-to-use-a-layer-as-a-basemap-in-arcgis-online-and-ar-000028878" target="_blank" rel="noopener"&gt;this article&lt;/A&gt; to add all the services to a map and try moving them all to the Basemap.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 19:45:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303565#M81548</guid>
      <dc:creator>TonyContreras_Frisco_TX</dc:creator>
      <dc:date>2023-06-27T19:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for multiple FeatureLayer URLs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303661#M81554</link>
      <description>&lt;P&gt;Thanks for the reply Joel.&amp;nbsp; &amp;nbsp;this certainly looks more like the 'grouping' I'm looking for.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;the biggest reason for this effort would be to simplify my main.JS script, and list all the multiple Services in an external JS file.&amp;nbsp; &amp;nbsp;i've made a few attempts and have run into the FeatureLayer not being defined.&amp;nbsp; I think im missing a few simple things,&amp;nbsp; &amp;nbsp;but wanted to clarify my reasoning - a cleaner main.js file.&lt;/P&gt;&lt;P&gt;any more support ideas welcomed!&amp;nbsp; thx&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 22:35:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303661#M81554</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-06-27T22:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice for multiple FeatureLayer URLs</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303663#M81555</link>
      <description>&lt;P&gt;Thanks Tony.&amp;nbsp; &amp;nbsp;they are actually not our Services,&amp;nbsp; so sadly I wouldn't trust the external source to keep the URLs the same over time.&amp;nbsp; &amp;nbsp;I suppose that is an issue with any outside source data Services.&amp;nbsp; &amp;nbsp;thx&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 22:38:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-for-multiple-featurelayer-urls/m-p/1303663#M81555</guid>
      <dc:creator>Paco</dc:creator>
      <dc:date>2023-06-27T22:38:10Z</dc:date>
    </item>
  </channel>
</rss>

