Add a Route Task

Add a Route Task to add a routing service for use in the map. This allows you to calculate the best route from one location to another. If using a locally hosted route task, the service URL must point to a Layer Name in the service (https://<server>/<webadaptor>/rest/services/<Folder>/<ServiceName>/NAServer/<LayerName>).

  1. Click the Service Resources tab.
  2. Click Add on the GIS Service Resources panel.

  1. Enter a Name for the service.
  2. Select Route Task from the Service Type drop-down list.
  3. Enter the URL of the service.
  4. Click Add.
  5. Select the new resource from the GIS Service Resources panel to finish entering the Resource Details.

.

The Id, a unique number assigned to the service resource, appears to the right of the resource Name.

  1. Click open service link next to the URL field to quickly check the service connection.

Once a Route Task is added as a resource, add it to a Service Definition. See Add Services to a Service Definition for more information.

NOTE: Designer automatically saves the changes you make. A notification that says Data Saved appears in the top-right corner when you make changes to the page.