AnsweredAssumed Answered

Directions Widgets Issue

Question asked by smas01 on Sep 28, 2019
Latest reply on Sep 30, 2019 by smas01

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/).

I am having issues while configuring the directions widget  in Webappbuilder (2.13 or before).

I have two questions

1.   Travel Mode URL is giving me suggestion to add a GP Service why should i 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 ?


2.   When i configure the widget and run the directions i am getting following error in console.


What i am doing wrong ?