Bug
| Bug ID Number | BUG-000118713 |
|---|---|
| Submitted | December 10, 2018 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS API for JavaScript |
| Version found | 4.9 |
| Operating System | Windows OS |
| Operating System Version | 10.0 64 Bit |
| Status | Non-Reproducible |
Add the following bolded line of code to the HTML form:
<form id="importFileForm">
Upload a file: <input type="file" name="attachment" id="fileinput">
<input type="hidden" name="f" value="json">
</form>
Or if using FormData class use the following code:
let form = new FormData();
form.set("attachment",file);
form.append("f","json");
Bug ID: BUG-000118713
Software:
Get help from ArcGIS experts
Download the Esri Support App