We’re currently running into an issue where attachments are the only pieces not coming through to AGOL when capturing offline. I’m wondering if this might be related to spotty service when the Assessors are working in remote areas—for example, the upload may start but then get interrupted. Since the rest of the data is successfully sent, we’re not seeing an error message.
Is there a way to configure Quick Capture so it waits to send everything until the user is fully back in the office, rather than sending as soon as any internet connection is restored?
Is there a way for me to recover these images? Could they be stored in a cache somewhere?
Hi — @GISMapLad
The behaviour you’re seeing may be due to a known configuration issue that can affect offline workflows with attachments.
In QuickCapture, features and attachments are submitted as separate requests. In situations where connectivity is intermittent, it’s possible for a feature to be successfully sent, but the associated attachment upload fails.
This behaviour is dictated by whether the feature service supports applyEdits using GlobalIDs. You can check this by inspecting the service’s REST JSON for the following property: supportsApplyEditsWithGlobalIds
However, when supportsApplyEditsWithGlobalIds is set to true, the behaviour is much more robust:
In other words, enabling this property ensures that features will not be missing attachments. To find out how to do so, see the following blog: How to enable supportsApplyEditsWithGlobalIDs on your feature layer
For hosted feature layers in ArcGIS Online, enabling Sync is often enough to resolve this. For non‑hosted or Enterprise layers, the same requirements apply as outlined in the Survey123 guidance referenced in the blog.
This can be achieved using the app’s Autosend setting. If Autosend is enabled, QuickCapture will attempt to upload records at a defined interval whenever the app is online.
To avoid this:
You should also note that Auto Send can be set using an organisational setting, meaning it is possible to enforce the setting for all users in your organisation.
Unfortunately, once a feature has been marked as successfully sent and the local record has been deleted, the attachments can’t be recovered.
Based on your description, this issue is very likely related to a combination of:
Ensuring that this property is enabled is the most important step for preventing attachment loss in offline QuickCapture workflows.