Hi all,
I've been running into an issue with uploading a .csv file from my local machine using the Add Data widget in a Web Experience. My organization is currently running Enterprise 11.4, and I have full administrative privileges/permissions. Upgrading to Enterprise 11.5 or 12.0 is on the very distant horizon.
I want end users (non-GIS) to be able to upload a .csv of Tax Roll numbers for a custom geoprocessing tool to read and run an analysis. But I cannot upload the .csv.
I get a general "The file cannot be uploaded" error in the Web Experience when I try to upload a .csv from either my local machine or a .csv that's hosted in the Portal. I have no issues adding hosted or published feature services and non-spatial tables-- only .csv files cause problems. Digging deeper, the dev tools in Chrome state this:
"Generate Features error: Server tool execution failed : ERROR 999999: Something unexpected caused the tool to fail. Contact Esri Technical Support (http://esriurl.com/support) to Report a Bug, and refer to the error help for potential solutions or workarounds. Missing publish parameter: longitudeFieldName. Failed to execute (Generate Features for Portal). Failed."
I tried uploading the same .csv with added columns: Longitude and Latitude, with nonsense numerical values in them. It uploaded right away. But I do not want to and should not expect the end-users of this Web Experience to include these two columns when they upload.
I've also tried uploading the same .csv without those two columns to a Web Experience created in the current version of ArcGIS Online (with the same Add Data widget settings). I encounter no errors with that upload.
I've attached the .json from Chrome's dev tools as well. As far as I can tell, everything looks as it should, but I'm not terribly familiar with .json
Has anyone run into a similar issue and/or have any suggestions? I'm using the browser version of Experience Builder. Thanks