<?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 Using a Feature Service from ArcGIS Online as a Facility or Incident Closest Facility JavaScript in HTML5, CSS, JavaScript, and JavaScript Frameworks</title>
    <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/using-a-feature-service-from-arcgis-online-as-a/m-p/823702#M29</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to use the Closest Facility function in the ArcGIS Javascript API. I need to use a feature service that is hosted in ArcGIS Online as the Facilities layer and then I have search response that I'd like to use as an incident. How can I do this?&lt;/P&gt;&lt;P&gt;I have looked into the Data file option which seems to have worked however the response I get back from the Closest Facility Task function that runs gives me the following response&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;0 location(s) in \"Facilities\" are valid. Need at least 1 valid location(s). Insufficient number of valid locations in \"Facilities\" or \"Incidents\"."]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Using the same dataset as my facilities layer hitting the Route URL with postman will return a successful response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Mar 2019 05:17:28 GMT</pubDate>
    <dc:creator>AdminLCC</dc:creator>
    <dc:date>2019-03-06T05:17:28Z</dc:date>
    <item>
      <title>Using a Feature Service from ArcGIS Online as a Facility or Incident Closest Facility JavaScript</title>
      <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/using-a-feature-service-from-arcgis-online-as-a/m-p/823702#M29</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am attempting to use the Closest Facility function in the ArcGIS Javascript API. I need to use a feature service that is hosted in ArcGIS Online as the Facilities layer and then I have search response that I'd like to use as an incident. How can I do this?&lt;/P&gt;&lt;P&gt;I have looked into the Data file option which seems to have worked however the response I get back from the Closest Facility Task function that runs gives me the following response&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;0 location(s) in \"Facilities\" are valid. Need at least 1 valid location(s). Insufficient number of valid locations in \"Facilities\" or \"Incidents\"."]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Using the same dataset as my facilities layer hitting the Route URL with postman will return a successful response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Mar 2019 05:17:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/using-a-feature-service-from-arcgis-online-as-a/m-p/823702#M29</guid>
      <dc:creator>AdminLCC</dc:creator>
      <dc:date>2019-03-06T05:17:28Z</dc:date>
    </item>
    <item>
      <title>Re: Using a Feature Service from ArcGIS Online as a Facility or Incident Closest Facility JavaScript</title>
      <link>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/using-a-feature-service-from-arcgis-online-as-a/m-p/823703#M30</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need an answer to this question as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Nov 2019 22:22:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/html5-css-javascript-and-javascript-frameworks/using-a-feature-service-from-arcgis-online-as-a/m-p/823703#M30</guid>
      <dc:creator>DebraHodges</dc:creator>
      <dc:date>2019-11-22T22:22:23Z</dc:date>
    </item>
  </channel>
</rss>

