Hi All,
I look after a webmap that allows users to find files related to a single polygon. however I am wondering if I could build a Survey 123 that would allow users to upload their own files, eliminating a lot of back and forth for me to upload to files on their behalf. (obviously it needs to be as easy as possible for them to actually use, worst case it makes my job easier by automating the upload process)
The survey needs to
1. ask the user to draw a polygon, and give the polygon some basic attributes (like project number). then save this polygon to FeatureClass1 (spatial).
2. allow the user to upload multiple files, and give each file some attributes (like project number, and if it is a drawing, contract ect). Not every file would have the same attributes, but they would all connect to the same polygon.
then upload these attributes to FeatureClass2 (standalone table) and save the files to a drive location, creating a link that is then saved in FeatureClass2
FeatureClass1 and FeatureClass2 are related based on project number.
Perhaps Survey123 is not the best tool for this, any other tips or suggestions would de helpful, perhaps Tasks in ArcGIS could do this?
ArcGIS Pro 3.4.3, Enterprise
You can do this in Survey123
Items 1 and 2 are appropriate for Survey123. I would suggest starting with some of the samples in Survey123 Connect and go from there:
Item 3 would be best handled post submission by a python script, possibly tasks (I haven't used it) or possibly Power Automate flow.
Here is a base for handling attachments with python.