Hi every one
I built a simple geoprocess with python that give zip file(that with in is a shape file) as input data then unzip input data and make a buffer around the input data. and publish this geoprocess at ArcGIS Server 10.2. But i don't know how to upload and using data to geoprocessin service via ArcGIS API for silverlight. Does anyone have a sample code that with in upload data as input geoprocessing via ArcGIS API for silverlight?
Best Regards
I suggest you look at the Extract Data sample (ArcGIS API for Silverlight - Interactive Samples | ArcGIS for Developers ).
It demonstrates how to execute a GP Tools at server side and download the result locally.
Dear Dominique
thanks you for your attention.
I can execute GP and download but my problem is that I can not upload data as input GP. Can you help me?
best regards
Hi Mostafa,
For uploading, you have first to use UploadTask for uploading the data to the GP service and then a GPItemId as input of your GP Tool.
Though this is only supported from the version 10.1 of ArcGIS Server.
/Dominique
Hi dear Dominique
Thanks for your attention. Do you have sample code for this?
Best Regards