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
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate para una cuenta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.