Originally, I thought this would be easy and maybe it is and I’m overcomplicating things because I do that occasionally. I’m hoping this is actually documented somewhere and I just missed it because this seems like something that could happen a lot.
Here’s what I’m trying to accomplish please let me know if there’s a better way:
I have a short survey created in Connect that uses a geopoint question along with a few other information gathering questions to allow the user to submit trespassing incidents on our city reservoirs. I created the original survey from a feature service so everything can be tracked and mapped.
Here’s part of the problem:
I want to add the ability to take multiple photos and add a description to each one so I added a image and a text question into the survey wrapped in a repeat so the user could submit multiple photos and descriptions for each photo taken.
I kind of understand how images work with the related table and kind of understand how repeats work within that related table, but I have a lot of questions, hopefully there’s an easier way to do this and these are kind of unnecessary questions.
Ideally, I’d like to just fix up the feature service so this works , which would save a lot of time rather than having to redo and bunch of work and settings and such.
Here are my questions:
1) Is it possible to fix the feature class by adding the appropriate field names for the image and repeat so I don’t get a message about the submission_url not being compatible with the related feature service?
2) I know I can add fields to the features service for the text field in the repeat, but how do I add the related table to the feature service? 3) I know I can create a relationship class with a related table, but I haven’t found anywhere that documents how to specifically setup the fields to link correctly to the survey fields? Where I do I put my survey field names in the geoprocessing tool to create the correct connection?
Also, I understand I need to make sure the setting on the feature service are setup to accept attachments and use the GUID for edits. It’s currently setup to do that already.
Any help is really appreciated on this subject!
Thank you,
Mark