Select to view content in your preferred language

How can web app use esri/request to upload binary file by url (from cloud) to geoprocessing tool?

428
0
01-27-2022 07:24 AM
MichaelLev
Regular Contributor

I use WebAppBuilder 2.22 to develop 3D web apps (esri js API 4.22) with custom widgets for our portal.

I published geoprocessing service to our portal and I need to give it an input file.

My web app uses esri/request to upload a PC file, but I need the web app to also be able to automatically upload from url (when there is a file in the Amazon AWS cloud).

Is there a way to do this?

1. Could ESRI add to esri/request an option to upload the file from URL?

2. Until ESRI add this capability, how can I conceive to do this? The file is binary. The web app can read it from the cloud, but how will the web app pass it correctly to the geoprocessing tool?

Help will be greatly appreciated.

0 Kudos
0 Replies