<?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 Error in Web Mapping App in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582171#M15538</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I developed Web Mapping Application with Directions widget. It works fine in&amp;nbsp; Web AppBuilder for ArcGIS.&lt;/P&gt;&lt;P&gt;But it calls errors in Web App Viewer:&lt;/P&gt;&lt;P&gt;"&amp;nbsp;&amp;nbsp;&amp;nbsp; init.js:1488 dojo.io.script error Error: Token Required&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Error (native)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Object.h.load (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A896%3A343" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:896:343&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A181%3A69" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:181:69&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A221" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:221&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A10" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A67%3A350" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:67:350&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A436" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:436&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A10" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A67%3A350" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:67:350&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A1486%3A46" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:1486:46&lt;/A&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and I don't set beginning and stopping points.&lt;/P&gt;&lt;P&gt;Please, help me with Directions widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Sep 2015 17:29:00 GMT</pubDate>
    <dc:creator>VictorBelogurov</dc:creator>
    <dc:date>2015-09-09T17:29:00Z</dc:date>
    <item>
      <title>Directions widget Error in Web Mapping App</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582171#M15538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all.&lt;/P&gt;&lt;P&gt;I developed Web Mapping Application with Directions widget. It works fine in&amp;nbsp; Web AppBuilder for ArcGIS.&lt;/P&gt;&lt;P&gt;But it calls errors in Web App Viewer:&lt;/P&gt;&lt;P&gt;"&amp;nbsp;&amp;nbsp;&amp;nbsp; init.js:1488 dojo.io.script error Error: Token Required&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Error (native)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at Object.h.load (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A896%3A343" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:896:343&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A181%3A69" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:181:69&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A221" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:221&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A10" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A67%3A350" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:67:350&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at c (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A436" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:436&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at d (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A66%3A10" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:66:10&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at resolve.callback (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A67%3A350" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:67:350&lt;/A&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fjs.arcgis.com%2F3.14%2Finit.js%3A1486%3A46" rel="nofollow" target="_blank"&gt;http://js.arcgis.com/3.14/init.js:1486:46&lt;/A&gt;&lt;SPAN&gt; "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and I don't set beginning and stopping points.&lt;/P&gt;&lt;P&gt;Please, help me with Directions widget.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 17:29:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582171#M15538</guid>
      <dc:creator>VictorBelogurov</dc:creator>
      <dc:date>2015-09-09T17:29:00Z</dc:date>
    </item>
    <item>
      <title>Re: Directions widget Error in Web Mapping App</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582172#M15539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please confirm the version of Web AppBuilder that you're working with (Online/Portal or Developer) ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Sep 2015 19:58:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582172#M15539</guid>
      <dc:creator>VictorCoelho_EsriCanada</dc:creator>
      <dc:date>2015-09-09T19:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Directions widget Error in Web Mapping App</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582173#M15540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work with Web AppBuilder Online/Portal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 07:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582173#M15540</guid>
      <dc:creator>VictorBelogurov</dc:creator>
      <dc:date>2015-09-10T07:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: Directions widget Error in Web Mapping App</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582174#M15541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you deploy the App on your Web server ? If yes, take a look at this document : &lt;A href="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm" title="https://developers.arcgis.com/web-appbuilder/guide/xt-deploy-app.htm"&gt;Deploy app—Web AppBuilder for ArcGIS (Developer Edition) | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; The application can be reached from outside of your organization ? I was able to create an application with the Direction Widget without issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to the AppBuilder documentation the use of the Widget require &lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #f3f3ef;"&gt;an ArcGIS Online for Organizations subscription&amp;nbsp; , check the doc here :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #4d4d4d; font-family: 'Lucida Grande', 'Segoe UI', Arial, sans-serif; background-color: #f3f3ef;"&gt;&lt;A href="http://doc.arcgis.com/en/web-appbuilder/create-apps/widget-directions.htm" title="http://doc.arcgis.com/en/web-appbuilder/create-apps/widget-directions.htm"&gt;Directions widget—Web AppBuilder for ArcGIS | ArcGIS&lt;/A&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 14:33:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582174#M15541</guid>
      <dc:creator>VictorCoelho_EsriCanada</dc:creator>
      <dc:date>2015-09-10T14:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: Directions widget Error in Web Mapping App</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582175#M15542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Victor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's not an error of WAB. By default, Directions widget use route service. If the route service is private, when accessing this private service by arcgis-js-api, you will get a "Token required" error and arcgis-js-api will automatically print this erron on console. It is the API's normal behaviour. After get the error info, API will send another request with token to access the private route service. So all works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arcgis-js-api always prints errors on console and it doesn't matter. Forget it !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 07:33:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/directions-widget-error-in-web-mapping-app/m-p/582175#M15542</guid>
      <dc:creator>QunSun</dc:creator>
      <dc:date>2015-09-11T07:33:40Z</dc:date>
    </item>
  </channel>
</rss>

