AnsweredAssumed Answered

Pass an image as a geoprocessing parameter

Question asked by tsellste Champion on Jun 14, 2016
Latest reply on Jun 15, 2016 by tsellste

Greetings,

 

I have a JSAPI app that I have built that uses a geoprocessing tool to pass information back to our ArcGIS server.  The geoprocessing tool is used to post information to another vendors API.  I have everything working very well except for passing an image from my app. 

 

One of the parameters I would like to pass back is an image captured from a iPad camera.  I am using the following to capture the image:

 

<input id="accountPhoto" name="attachment" type="file" accept="image/*" capture="camera" data-clear-btn="true">

 

I have tried different variations of passing it back into the geoprocessing parameters, but I have had no luck.  What would be the proper way to pass a captured image as a geoprocessing parameter?

 

Regards,

 

Tom

Outcomes