laptop and a wrench


The printTaskUrl and geometryTaskUrl parameters are ignored when set in the constructor of the Directions widget if the TaskUrl route is set to any URL besides the default.

Last Published: November 12, 2014 ArcGIS API for JavaScript
Bug ID Number BUG-000082900
SubmittedOctober 30, 2014
Last ModifiedMarch 30, 2022
Applies toArcGIS API for JavaScript
Version found3.11
Version Fixed3.12


  1. In the constructor of the Directions widget, set the printTaskUrl and geometryTaskUrl to the desired services. Set the routeTaskUrl to: ''
  2. Add the following code block to the application: directions.on("load", function() { directions.routeTask._url.path = <url to your route service + /solve>; directions.routeTask.url = <url to your route service + /solve>; directions.routeTaskUrl = <url to your route service + /solve; });

Steps to Reproduce

Bug ID: BUG-000082900


  • ArcGIS API for JavaScript

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic