I'm having some trouble with my survey. The survey was created in Survey123 Connect and is connected to a feature class so all data that gets submitted to the survey gets stored directly in the feature class. Everything in the survey works great except for the attachments. The "type" in the survey is set appropriately to "file" and the survey allows you to upload the file and submit the survey, so no problems there.
The problem seems to be on the backend and I could swear this worked fine before, but our Enterprise Portal, where the survey lives, was updated recently, so I don't know if that effected something or I changed a setting by accident. As I stated previously, I could have sworn the attachments used to show up in the Form View on the right side for each record (see screen shot below).
Any help is appreciated!
Thank you
I guess I need to bump this again. I hope it made sense. Does anyone have any idea what the problem might be?
Can you see the attachments when you examine the hosted feature layer through the Portal Item page?
This will confirm if the attachments are there at all ...
Thanks for replying any idea what the problem might be given this information. It looks like I'm capturing the names of the file in a field, but the files are not showing as being attached.
@MPach what appearance is set on your file type question? Is it within a repeat? If it's in a repeat, I'd suggest removing that and using the multiline appearance to simplify the schema. If it's in a repeat and NOT multiline, there may be some funky schema things happening, and the Enterprise upgrade may have caused an issue. Without knowing much more, you might want to check out the ArcGIS Pro Attachments toolset if there's something that might "fix" things after the upgrade. https://pro.arcgis.com/en/pro-app/latest/tool-reference/data-management/an-overview-of-the-attachmen... Alternatively, create and test with a new survey.
Thanks for the reply @ToddW_stl . I was working with an ESRI tech on it and we tried nearly everything to get it to work including stripping the survey down to just 2 questions and nothing helped so far. I'll check out what you said though. Thank you
You worked with the tech with your existing survey and existing service/data, correct? I think I noticed your issue (attachments not showing in Form View window) when I was testing trying to enable supportsApplyEditsWithGlobalIDs on my Non-Hosted Feature Layers in ArcGIS Enterprise, but that test data has since been deleted. Now I'm thinking that maybe something went wrong in the relationship because of the upgrade, OR if your upgrade was from several versions ago, be sure to check out the gray note boxes in Upgrade Attachments, along with the rest of the info on that page.
My solution for my testing problem was (which may not work for you if you need to preserve all existing data):
IF you believe your relationship is broken and don't want to/can't perform the steps above, this is an untested theory, but you could try:
I guess it won't hurt to send more good luck your way.... haha!
I'll make sure to check all that out. I'm currently really busy with Lead and Copper Rule projects right now and hope to get back to this soon. I actually just got out of a meeting with Freese and Nichols, who will be working on a project for us that might negate the need to do any of this testing because this survey will be moved over to ArcGIS Online to supplement the other project built, so I think they will probably just rebuild the survey itself.
Mark