I need to pass a shapefile as input to my geoprocessing service so as to perform extra process with the features included in it? The geoprocessing service will be called from the clients web page using the javascript api. I am using arcgis 10.2.2 Is that feasible ? If yes are there any examples ?

  1. yes, this is feasible.

  2. yes, here is an example: https://developers.arcgis.com/javascript/jssamples/portal_addshapefile.html

rather than esriRequest, you will need to pass the zipped file as one of your inputParameters when calling Geoprocessor.execute()


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.