I am trying to use this barrier parameter without much luck. I want to query against a feature service I create.
var networkServiceUrl = 'http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/MapServer/' routeParams.barriers = new DataFile({ url: networkServiceUrl + "/1/query?where=1%3D1&outFields=Name,RouteName&f=json"} );
you should move this to a Place in GeoNet where you have a better chance on gettng this question answered. This is for help about GeoNet, here is the community structure
GeoNet Community Structure
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.