AnsweredAssumed Answered

Passing FeatureSet to GeoProcessing Service as argument by JavaScript API

Question asked by ammarGomaa on Jan 15, 2014
Latest reply on Apr 7, 2015 by jestanford
Hello Dears,

I need to create FeatrueSet in runtime and pass this FeatureSet as argument to GeoProcessing Service.

I try this Code but I face error when executing Geoprocessing service
                var features = [];

                var fset = new FeatureSet();
                fset.spatialReference =;
                fset.features = features;
                fset.geometryType =[1].geometry.type;