I can get it to work in Javascript when the input data is set as a constant value or selected form the layer list. When I try to run it with user defined input (a Feature Set derived from a Feature Layer) the tool fails. I am at a complete loss!
parcelsFS.queryFeatures(query, function (features) { var inputFeatures = new esri.tasks.FeatureSet(); inputFeatures = features.features; var params= { "Table_Name":inputFeatures}; gpTask.submitJob(params, completeCallback , statusCallback,function(error){ //alert(error); //esri.hide(loading); }); });
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.