<?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: Directions Widgets Issue in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/directions-widgets-issue/m-p/825330#M7763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is resolved now and I would like to share the solution so i am answering my own question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the issue was i was getting wrong travel modes from my service itself and since these travel modes were not actually defined in my network so they were causing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was getting wrong travel modes due to the face i am running this on a ArcGIS portal where we had a default setting due to which the travel modes were getting overridden with the actual ones which i defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to remove the default settings of portal (Under Organization -&amp;gt; Utility Services -&amp;gt; Directions and Routing -&amp;gt; Routing Utilities URL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I removed this from our staging portal I am getting the correct travel modes and the widget is working as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2019 06:30:17 GMT</pubDate>
    <dc:creator>MuhammadAli6</dc:creator>
    <dc:date>2019-10-01T06:30:17Z</dc:date>
    <item>
      <title>Directions Widgets Issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/directions-widgets-issue/m-p/825329#M7762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a road network which i published on ArcGIS portal. The road network is working fine on ArcMap and when i published it is working fine using ArcGIS Rest API directly (.../RoadNetwork/NAServer/Route/).&lt;/P&gt;&lt;P&gt;I am having issues while configuring the directions widget &amp;nbsp;in Webappbuilder (2.13 or before).&lt;/P&gt;&lt;P&gt;I have two questions&lt;/P&gt;&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;Travel Mode URL is giving me suggestion to add a GP Service why should i&amp;nbsp;use a GP Service when i have the option to retrieve travel mode using ArcGIS rest API (..../RoadNetwork/NAServer/Route/retrieveTravelModes/) does this mean i have to publish a GP Service ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;When i configure the widget and run the directions i am getting following error in console.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="460735" alt="" class="jive-emoji image-1 jive-image j-img-original" src="/legacyfs/online/460735_road network2.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am doing wrong ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="460748" alt="" class="jive-emoji jive-image image-2 j-img-original" src="/legacyfs/online/460748_road network.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Sep 2019 05:57:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/directions-widgets-issue/m-p/825329#M7762</guid>
      <dc:creator>MuhammadAli6</dc:creator>
      <dc:date>2019-09-29T05:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widgets Issue</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/directions-widgets-issue/m-p/825330#M7763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The problem is resolved now and I would like to share the solution so i am answering my own question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the issue was i was getting wrong travel modes from my service itself and since these travel modes were not actually defined in my network so they were causing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was getting wrong travel modes due to the face i am running this on a ArcGIS portal where we had a default setting due to which the travel modes were getting overridden with the actual ones which i defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to remove the default settings of portal (Under Organization -&amp;gt; Utility Services -&amp;gt; Directions and Routing -&amp;gt; Routing Utilities URL)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I removed this from our staging portal I am getting the correct travel modes and the widget is working as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2019 06:30:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/directions-widgets-issue/m-p/825330#M7763</guid>
      <dc:creator>MuhammadAli6</dc:creator>
      <dc:date>2019-10-01T06:30:17Z</dc:date>
    </item>
  </channel>
</rss>

