<?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 How to integrate another API into App? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-integrate-another-api-into-app/m-p/206672#M19200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose, there is already an internal REST API in place that returns geoJSON.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to replace the ArcGIS rest service with an internal API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var featureLayer = new FeatureLayer({ url: "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/arc.gis/arcgis/rest/services/Random/Randomservice/Map/0" rel="nofollow" target="_blank"&gt;https://arc.gis/arcgis/rest/services/Random/Randomservice/Map/0&lt;/A&gt;&lt;SPAN&gt;" });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;// This is the issue in question&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var featureLayer = new FeatureLayer({ url: "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/internal/rest/services/Random/Randomservice/Map/0" rel="nofollow" target="_blank"&gt;https://internal/rest/services/Random/Randomservice/Map/0&lt;/A&gt;&lt;SPAN&gt;" });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question may need to be updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Nov 2018 19:12:32 GMT</pubDate>
    <dc:creator>HimalPatel</dc:creator>
    <dc:date>2018-11-08T19:12:32Z</dc:date>
    <item>
      <title>How to integrate another API into App?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-integrate-another-api-into-app/m-p/206672#M19200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Suppose, there is already an internal REST API in place that returns geoJSON.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to replace the ArcGIS rest service with an internal API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var featureLayer = new FeatureLayer({ url: "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/arc.gis/arcgis/rest/services/Random/Randomservice/Map/0" rel="nofollow" target="_blank"&gt;https://arc.gis/arcgis/rest/services/Random/Randomservice/Map/0&lt;/A&gt;&lt;SPAN&gt;" });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;// This is the issue in question&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;var featureLayer = new FeatureLayer({ url: "&lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/internal/rest/services/Random/Randomservice/Map/0" rel="nofollow" target="_blank"&gt;https://internal/rest/services/Random/Randomservice/Map/0&lt;/A&gt;&lt;SPAN&gt;" });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question may need to be updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Nov 2018 19:12:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-integrate-another-api-into-app/m-p/206672#M19200</guid>
      <dc:creator>HimalPatel</dc:creator>
      <dc:date>2018-11-08T19:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to integrate another API into App?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-integrate-another-api-into-app/m-p/206673#M19201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/345446"&gt;Himal Patel&lt;/A&gt;&amp;nbsp;the FeatureLayer will only work when the resources come from ArcGIS Server, ArcGIS Online, ArcGIS Enterprise, or client side graphics. The last bit might be the most interesting for you, here is an example:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-collection/index.html"&gt;Create a FeatureLayer with client side graphics | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, there are a couple of layers that the ArcGIS API for JavaScript offer that work with non-ArcGIS resources:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-KMLLayer.html"&gt;KMLLayer | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WebTileLayer.html"&gt;WebTileLayer | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html"&gt;WMSLayer | API Reference | ArcGIS API for JavaScript 4.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Dec 2018 21:52:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-integrate-another-api-into-app/m-p/206673#M19201</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2018-12-26T21:52:43Z</dc:date>
    </item>
  </channel>
</rss>

