Anybody editing related tables in Collector? The feature was just released in Collector for Android. I'm still waiting for it to be released for iPad before I make any changes to the schema I have set up in my web maps. I'm curious if anyone is using this feature and how they have it setup. Is it seamless to access and edit the related tables? Is it cumbersome or confusing for collector users? Are many to many relationships possible? Any feedback would be greatly appreciated.
Thanks!
-When you have a feature service with related tables in a web map you must first enable the popup on the table. If the popup on the table is not enabled the related table will not be displayed in the Collector app.
-You access the related tables through the features popup. From there you can view, edit or delete the related records.
-M to N relationships are not supported in this release.
Russ
Thanks Russ, what about adding a related record? Say I create a feature in collector and I want to add a record for it in a related table. Can you do that in Collector?
Yup you can add new records to a feature when it supports a 1 to M relationship or if a feature does not have a related record yet in a 1 to 1 relationship.
After enabling the related table popup, I'm getting an "Unfortunately, Collector has stopped" message every time I try to open the features popup. I'm using a very basic set of points, a relationship class and related table in a 1-M relationship.
Any other reports of crashes?
Can you share the map to a group and invite Collector4ArcGIS into that group and I can check out the map.
Thanks
Did so. Thanks!
Hi Russell,
I am also struggling with getting the related tables setup with collector. Thanks for the info on 'enabling pop-ups' via online, I was able to get this working with an ArcGIS online hosted feature service, but am trying to get it working with an Internally hosted 'Portal' and ArcGIS Server. Do you know what i'm missing with my published feature service, I can't seem to get the 'enable popups' button to show in the online map editor.
I have Sync enabled in the feature service...
Versioned feature class with relationship classes setup to the GlobalID of the origin table, anything else i need?
The related table support for Portal is currently not present and will be coming in the next Portal update. Feature to Feature relationships will work in Portal but the Feature to Table support will come in the next update.
OK. To clarify, related tables in collector are currently only available via ArcGIS Online 'hosted' feature services then?
The other options being:
Do you know what patch or release date this will be available?
The reason Portal related table support is not present is due to the web map authoring experience is slightly behind the AGOL map authoring experience. The Portal map author cannot enable related table popups on the table right now in their 10.3 release but will be there in Portal 10.3.1.
ArcGIS Server feature services and ArcGIS Online hosted feature services both support related tables and being used in Collector, the app just requires a popup enabled on the table.
I do not have an exact date for the next release but I will check with the Portal team and update this thread.
Thanks for the information.
I was able to point an ArcGIS Online instance to my internal AGS and get the enable popups for my related tables to show up. Although I do seem to be getting crashes when I go to 'Show details' of a saved feature, I think as Matt McGuire was saying earlier.
I recreated the service to the minimal level to prove the concept to myself. Then I worked backwards reversing the changes until it stopped working again.
For what it's worth, here are the changes I made:
1) Moved the feature service to the root directory of my ArcGIS Server
2) Removed the requirement for HTTPS and a login to the feature service
3) Used a "publisher" account in AGOL (had been using an admin account)
4) Removed all fields save a couple of text fields
At this point, it was working great.
The Feature Service works fine for editing in AGOL.
So there seems to be some problem with editing related tables using secure feature services using the Collector App.
EDIT: I created a feature layer in AGOL referencing the Feature Service in ArcGIS Server with saved credentials. Then I set the map to use the feature layer instead of the feature service directly. Now editing works on the secure service in ArcGIS Collector App for Android. So that's a work around, though not ideal.
See my response to myself above - I am getting the crashes only when trying to directly edit an ArcGIS Server feature service which requires a login.
Hey Matt,
I can repro your issue and we are looking into it.
Russell Roberts thank you for your answer to this question as everything works for me now after enabling the popup. Are there going to be any examples in the future on how to make related tables work? I searched for quite a while before going to the forums (probably my first mistake). Thanks for your help Russell!
Yup, we are working on a blog covering the steps on how to get your map & data setup related records along with some tips. I'll post a link to the blog in this forum when its published.
Thanks for all the great information. Sounds like it is getting there and some of you are already using it. I'll look forward to the Blog post coming out.
Hi Guys collector is driving me crazy, mandatory fields set in the geodatabase don't carry through to collector.
Here is the link to the blog post we just posted. Please post your questions on the blog page and we will answer them there.
Related Tables – Exploring New Ways to use Collector for ArcGIS | ArcGIS Blog
Russell,
What is the status with this?
I was eagerly awaiting Portal 10.3.1 so I could make use of related records in Collector but now Collector crashes every single time I try to view the details of a feature that has related records.
The same happens on both Portal and AGOL when adding a linked feature service from Server, but does NOT happen when using a hosted feature service on AGOL.
I've tried republishing the services, recreating the maps, recreating the popups, reinstalling Collector, and rebooting my device but nothing changes. Collector crashes every time I open the details of a feature with related records.
If the issue you are seeing is related to using a secured ArcGIS Server service and related records this issue has been fixed and will be in the upcoming update which is the team is working on right now which should come out soon.
Thanks Russell.
I am using secure services. Do you have a timetable on when the next update will be? Ballpark? We were ready to roll out our new collection process and this is the only hold up. I'd like to know if I should wait or find a work-around of some kind.
the release on iOS and Android should be out early June.
Did you ever get mandatory fields working? I coulda sworn it was working when I first started on my project in the spring, but now it is not.
Paul
Is this blog page still active? I'm looking for info on related tables and AGOL.
Thanks,
Steve
Such as?
Russ,
I have set up a Collector app using a related table, and it works on iOS, but on Android I get the 'Collector has stopped message' when I go to Add a new record to the related table. I can view the pop-up and View the related records, but not add a new one. I have tried the solution you offered with referencing the ArcGIS Server Feature service through an AGOL Feature layer and table. But it still does not work. I have shared a group and invited the Collector4ArcGIS account. Group is called Android Collector App. Can you offer any assistance with this issue?
Also, in Collector on Windows 10, when I try to add a new record, the app just closes, no error message at all.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.