AnsweredAssumed Answered

Windows Collector Crashes When Editing Features With Attachments

Question asked by andrew.southern@Franklintn.gov_franklin on Apr 19, 2018
Latest reply on Apr 27, 2018 by nbandi-esristaff

Here's a quick rundown of the project I am currently experiencing problems with:

 

I am using a custom URL scheme to evoke Survey123 from Collector in order to bring in certain field values from an existing ESRI hosted feature service into a blank survey form.  The project involves keeping an inventory of vehicles parked in various spots around the city that are labeled "4 hour parking" so what I am trying to accomplish is using a point feature for the spots themselves that are viewed in Collector, launching Survey123 using the custom URL scheme from each point, and importing field values such as space number, parking restrictions, and location into the survey form.  This all works as I would like.  Once in the survey form, the user captures a photo of the vehicle license plate and submits.  Back in Collector, the point feature service created by Survey123 is displayed in such a way as to show cars that have valid and expired parking based on a start time and expiration time calculated within Survey123.

 

In order to "clear" a parking spot, the user should be able to click on the Survey123 point feature from within Collector, start an edit session, and click a time stamp field that indicates the space was cleared at that time.  The filters I have set up in the web map look to see if there's a value (dateTime) in that field and if so it is no longer symbolized on the web map and therefore no longer seen in Collector.

 

However, whenever this field is populated and submitted via Collector, the app crashes.  It only occurs on features that have an attachment and seems to only be an issue in Windows.  And it's not every time a feature with an attachment is edited, more like 50% of the time.  I have tested the same process in Android without issue but unfortunately for this project I am constrained to Windows.

 

Has anyone experienced a similar issue?  

 

Thanks.

 

Update:  After more testing I believe I have found a correlation between a high refresh interval (something I forgot to mention was in place) and the app crashing when saving edits to features with attachments.  I had the refresh interval set at .15 minutes in an attempt to make the app as real-time as possible.  I adjusted the refresh interval to 3 minutes and it seems more stable, however it has still crashed a couple times.  Whereas Collector was crashing when saving edits roughly 50% of the time with a high refresh interval, it's improved to only about 5% of the time with a lesser refresh interval.

Outcomes