If ESRI will update the geoprocessing widget so it will take a local file, I, and many other users will be very happy!
I'm trying to build a simple geoprocessing service which should buffer an uploaded shapefile.
This is the scenario:
1) uploading shapefile to geoprocessing service
2) buffering the shapefile with a given parameter
3) returning the buffered shapefile
The buffering is not the problem, but the handling of the upload and reusing it in the model or python part.
As far as I read, I should have to use a Datafile parameter for upload, but I'm always getting this error while running it:
ExecuteError: Failed to execute. Parameters are not valid. ERROR 000735: input: Value is required Failed to execute
Can anybody help me to use uploads on geoprocessing services?
The datafile parameter input for the geoprocessing widget in the Viewer for Flex does not allow the user to upload a file to the server from their local machine. It only accepts paths that begin with http:// or https://
I was under the impression that this was going to be fixed at the 3.1 release, but the widget still won't accept a local file.
This thread indicates all the pieces are available if you have the capability of creating your own custom widget:
There are many of us that cannot create custom widgets. If ESRI will update the geoprocessing widget so it will take a local file, I, and many other users will be very happy!