Network Analysis Service - Closest Facility

Discussion created by shaun_weston-eagle-co-nz-esridist on Jun 11, 2013
Latest reply on Jun 11, 2013 by lukepatrick
I'm setting up a network analyst closest facility tool using similar code to this:

will be using ArcGIS Online hosted network service to solve this. The user will input the incident by clicking on the map, but I'm not sure how to get the facilties in there. I have a map service with all the points to be facilities, but not sure how to add this into the network analyst tool. Would I have to write a tool to extract the points out of the feature class and load into the facilities layer?