I've developed a Collector application with one (1:M) related table associated with one feature class. Viewing and adding related records works flawlessly on both Android and iOS devices when I'm connected to wi-fi. However, when working in offline mode (disconnected editing) I cannot view existing related records for features, nor can I view newly added related records on my Android device (I have no problem accessing existing or newly added records on my iOS device.)
I receive the following error message on my Android device when attempting to view a feature's related records:
For the record, the error is not specific to this app; I receive the same message on my Android device when accessing other apps I've created that also have related tables.
Both my Android and iOS device have Collector version 10.3.1, build 1013 installed.
Anyone else running into this issue?
Where is your data hosted? Is it an ArcGIS Online hosted feature service or a feature service from ArcGIS for Server? If ArcGIS for Server, what version are you using, what DBMS are you using, and what version is your geodatabase at?
Thanks for the reply! The data for this app is hosted on a 10.2.2 ArcGIS Server. We're using a Postgres SDE DBMS, which runs postgres 9.0.3 on SUSE Linux Enterprise Server 11 SP2.
It may be helpful to see what is happening over the network when this issue comes up on Android while on wifi or when trying to download your data for disconnected editing. Could you set up Fiddler as a proxy as outlined in this blog:
The settings will be accessed differently on an Android device, but the concept should work in the same way. Once we can view the traffic through Fiddler, we might get a better idea of what is going on. Additionally, can you bump the logging on the ArcGIS for Server up to DEBUG level? While downloading data in Collector for disconnected editing, this can sometimes shed a little more light on what is happening from the server's perspective.
Thank you for bringing this to our attention. I have reproduced this issue with a sample dataset, PostgreSQL 9.3.5 @ geodatabase version 10.3.1 and ArcGIS for Server 10.3.1. Therefore I have submitted the following software defect to be reviewed by our development team:
[BUG-000091183: Collector for Android 10.3.3 cannot view related records or sync once related records have been added when working offline from a feature service referencing data in a PostgreSQL 9.3.5 or below database and returns "Unable to retrieve information, please check connection".]
I was also able to reproduce this behavior when the source data was either archive enabled or versioned, and unfortunately was not able to isolate any workarounds. In further investigation of the createReplica request and conversion and validation of the .geodatabase file, this fault was seen to be specific to the Collector application.