My map has one feature layers with several related tables, when I edit the related table online using Collector it works fine, but when I take the map offline, something strange happens:
just for one related table,let's say the table is named Assessment_Complete, when I click "New", instead of showing me the table, it shows me a message "No valid Location", and it seems thinking I intend to collect the location on the map!
I am really confused, because I have already selected a location and this is only a related table without any spatial field what so ever. the most confusing thing is the other related tables seems work fine!
this is on my iPad air, on my Nexus 5, opening the offline map just simply crashes Collector, leaving me a message "Unfortunately, Collector has stopped"
Is it just me?
Solved! Go to Solution.
I am replying to myself
Good news, problem solved!
Problem solved.
I found the url for this table is different from the others, now I recall this table was added later by "Add Layer From Web",while the other tables were added automatically when adding the featurelayer. this table's url pattern is like
http://services1.arcgis.com/xxxxxxxx/ArcGIS/rest/services/HostedFeaturelayerName/FeatureServer/15
while the other talbes's urls are slightly different
http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/n
After I deleted the table and re-added it using the following url pattern, it started working!
http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/15
So lessons learned:
1. Bring in the related tables all in once by adding the featurelayer
2. If you have to add a related table in your webmap, keep the url pattern consistent with the featurelayer and other related tables.
I am replying to myself
Good news, problem solved!
Problem solved.
I found the url for this table is different from the others, now I recall this table was added later by "Add Layer From Web",while the other tables were added automatically when adding the featurelayer. this table's url pattern is like
http://services1.arcgis.com/xxxxxxxx/ArcGIS/rest/services/HostedFeaturelayerName/FeatureServer/15
while the other talbes's urls are slightly different
http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/n
After I deleted the table and re-added it using the following url pattern, it started working!
http://services1.arcgis.com/xxxxxxxx/arcgis/rest/services/HostedFeaturelayerName/FeatureServer/15
So lessons learned:
1. Bring in the related tables all in once by adding the featurelayer
2. If you have to add a related table in your webmap, keep the url pattern consistent with the featurelayer and other related tables.
I had the same thing happen, Related tables in offline mode show "No Valid Location" just like in the 2nd screenshot above. Online mode the map works fine.
Collector 10.3.5
Server 10.3.1
Token secured feature service added as item to AGOL, with credentials stored in item
feat. service with archiving, editor tracking, attachments enabled
Reproduce problem:
New AGOL webmap
Add the feature service item from AGOL
Both the feature layers AND the related tables are auto. added to the map
Configure symbology, popups, ect...
Save webmap
download webmap to Collector 10.3.5
click on a feature service polygon, under the details/relationship, click "new" to add record to relationship table
Rather then displaying the fields for the related table, you get "No Valid Location"
Workaround:
New AGOL webmap
Add Layer From Web
Enter the URL to your secured feature service, example: hxxp://mydomain.com/arcgis/rest/folder/servicename/FeatureServer
When prompted, enter service credentials
Configure symbology, popups, ect...
Save webmap
download webmap to Collector 10.3.5
click on a feature service polygon, under the details/relationship, click "new", everything will work normally.
Problem:
Thanks for sharing your experience Dan. Hope ESRI staff can clarify the concerns you raised here.
Thanks for detailed steps. I can reproduce your error. I will enter an issue for our dev team to look at. I notice the issue only happens in iOS. I don't see it in Android.
Hi Maogeng,
Thank you for looking into the issue.
I notice you said " my Nexus 5, opening the offline map just simply crashes Collector". Do you see the issue in latest Android Collector? If so, can you share your map to a group and invite the account Collector4ArcGIS into it?
No worries, I will let you know when I see it again.
Hey guys,
any update on this from the dev team? will this be addressed in 10.3.6?
thanks.