Add CSV Widget

327
2
3 weeks ago
JaredPilbeam2
MVP Alum

Anyone ever design a widget that allows you to upload a CSV file with an address field? I've tried what I could to circumvent the broken Add Data widget. It has a BUG. It stopped allowing CSV uploads with an address field, of all things.

I created a python script tool and connected to it through the Analysis widget but that won't let you upload CSV files either.

0 Kudos
2 Replies
obateman_oohmediaau
New Contributor

Yes, we are also experiencing the joys of this bug in our org which impacts the main workflow for our users. Instead of using the /generate endpoint that results in a bad response I switched over the add data widget to batch send to /geocode. I then wired in a csv column parser and selector for users to select the field needed from their csv. 

As it's mainly contained within /add-data-popper/data-file-upload.tsx in the add data widget it's relatively straightforward to update with a bit of trial and error. You'll need to clone the add data widget first, or hope that this bug is fixed.

0 Kudos
SunshineLuke90
Occasional Contributor

This sounds like something that other users might really benefit from. Would you be willing to share the update that you've made to the add data widget as a custom widget for the rest of the users on the community?

0 Kudos