Integrate.htm

3759
1
11-21-2015 05:35 AM

Integrate.htm

How to get Proxy url to upload files to Geoprocessing Service

Tags (1)
Attachments
Comments

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

Version history
Last update:
‎11-21-2015 05:35 AM
Updated by:
Contributors