Hello,
Recently I needed to upload a file to a geoprocessing service using the ArcGIS JavaScript API V4 but had trouble finding a concise road map on how to achieve this. After knocking my knees on the undergrowth I am writing this blog post so you can travel the road in comfort.
I note that others have provided information for this using v3 of the API but there are some differences that this post explores relating to v4.
The Problem:
- Need to upload a file to a geoprocessing service
- Using the ArcGIS JavaScript API v4 on the client
The Solution Overview: