<?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 Directions Widget - Travel Modes in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/46327#M1305</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Web Appbuilder Developer Edition, the Travel Modes options within the Directions widget does not show up when using a custom network analysis service. However the same Directions widget in ArcGIS Portal do not have this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Initially I was creating a web map using Web Appbuilder in Portal. The web map used the &lt;A href="https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-directions.htm"&gt;Directions &lt;/A&gt;widget on a custom Network Analysis Service that contains different travel mode options. In Web Appbuilder for Portal everything works fine. I only had to put in the Network Analysis Service link in the &lt;STRONG&gt;Route URL&lt;/STRONG&gt; box while leaving the &lt;STRONG&gt;Travel Modes URL&lt;/STRONG&gt; blank, and the Travel Mode options automatically appear on the Directions widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="232529" alt="" class="image-2 jive-image" height="322" src="https://community.esri.com/legacyfs/online/232529_pastedImage_1.png" width="248" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Directions Widget with travel modes.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Web Appbuilder Developer Edition, I chose &lt;EM&gt;Import -&amp;gt; Import from my account&lt;/EM&gt; to load up the same web map I was working on in Portal. But in this case the Travel Modes options do not show up on the Directions widget, despite making no changes to the web map or widget settings. What's causing the Travel Modes to disappear? Are the Developer Edition widgets a different version from Portal? Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="232548" alt="" class="image-5 jive-image" height="350" src="https://community.esri.com/legacyfs/online/232548_pastedImage_9.png" width="255" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Same options, but Travel Mode box doesn't show up.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Sep 2016 21:44:28 GMT</pubDate>
    <dc:creator>TonyZhang1</dc:creator>
    <dc:date>2016-09-22T21:44:28Z</dc:date>
    <item>
      <title>Directions Widget - Travel Modes</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/46327#M1305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Web Appbuilder Developer Edition, the Travel Modes options within the Directions widget does not show up when using a custom network analysis service. However the same Directions widget in ArcGIS Portal do not have this problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Background:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Initially I was creating a web map using Web Appbuilder in Portal. The web map used the &lt;A href="https://doc.arcgis.com/en/web-appbuilder/create-apps/widget-directions.htm"&gt;Directions &lt;/A&gt;widget on a custom Network Analysis Service that contains different travel mode options. In Web Appbuilder for Portal everything works fine. I only had to put in the Network Analysis Service link in the &lt;STRONG&gt;Route URL&lt;/STRONG&gt; box while leaving the &lt;STRONG&gt;Travel Modes URL&lt;/STRONG&gt; blank, and the Travel Mode options automatically appear on the Directions widget.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="232529" alt="" class="image-2 jive-image" height="322" src="https://community.esri.com/legacyfs/online/232529_pastedImage_1.png" width="248" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Directions Widget with travel modes.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Web Appbuilder Developer Edition, I chose &lt;EM&gt;Import -&amp;gt; Import from my account&lt;/EM&gt; to load up the same web map I was working on in Portal. But in this case the Travel Modes options do not show up on the Directions widget, despite making no changes to the web map or widget settings. What's causing the Travel Modes to disappear? Are the Developer Edition widgets a different version from Portal? Any help is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="232548" alt="" class="image-5 jive-image" height="350" src="https://community.esri.com/legacyfs/online/232548_pastedImage_9.png" width="255" /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Same options, but Travel Mode box doesn't show up.&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 21:44:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/46327#M1305</guid>
      <dc:creator>TonyZhang1</dc:creator>
      <dc:date>2016-09-22T21:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget - Travel Modes</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/46328#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I contacted Esri support and came up with this solution to the missing Travel Modes for the Direction Widget in Developer Edition when using a custom network analysis service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;- Find the folder of the Directions widget on the server, it should be under &lt;STRONG&gt;&lt;EM&gt;&amp;lt;WAB Install Folder&amp;gt;\server\apps\&amp;lt;App ID&amp;gt;\widgets\Directions&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; - Make a copy of widget.js for backup.&lt;BR /&gt; - Open widget.js, and find the line (should be 181) that says: &lt;STRONG&gt;&lt;EM&gt;options.doNotFetchTravelModesFromOwningSystem = true;&lt;/EM&gt;&lt;/STRONG&gt;&lt;BR /&gt; - Switch the value to &lt;EM&gt;&lt;STRONG&gt;false&lt;/STRONG&gt;&lt;/EM&gt;&lt;BR /&gt; - Reload the app, now you should see the travel modes.&lt;BR /&gt; This is based on this &lt;A _jive_internal="true" href="https://community.esri.com/thread/178213" target="_blank"&gt;forum thread&lt;/A&gt;.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 23:07:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/46328#M1306</guid>
      <dc:creator>TonyZhang1</dc:creator>
      <dc:date>2016-09-27T23:07:40Z</dc:date>
    </item>
    <item>
      <title>Re: Directions Widget - Travel Modes</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/1028819#M20367</link>
      <description>&lt;P&gt;Hi, How can I add bicycling distance and time to the directions widget?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Feb 2021 06:35:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-travel-modes/m-p/1028819#M20367</guid>
      <dc:creator>Suedietrich</dc:creator>
      <dc:date>2021-02-20T06:35:14Z</dc:date>
    </item>
  </channel>
</rss>

