How to get Proxy url to upload files to Geoprocessing Service
Balaji,
You need to specify the useProxy option in the esriRequest.
var requestHandle = esri.request({
url : gpUploadURL,
form: dojo.byId("uploadForm"),
content: { f: "pjson" },
handleAs: "json",
load: displayResult,
error: uploadFailed
}, {useProxy: true});
esri/request | API Reference | ArcGIS API for JavaScript
In the future if you are not planning on updating this file and maintaining version of it on GeoNet then you should just start a new discussion/question instead of upoading a file. You can still attach your zip to a discussion/question by clicking the Attach link in the lower right of dialog. If you do not see the Attach then make sure you are using the advanced edior
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Nový zde? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.