Hi,
Just wanting ESRI to know that when setting default numerical values on integer fields using the template editor on a webmap, or by adding a new integer field with a default value it wraps the value in quotes in the rest admin URL. This causes Collector for ArcGIS to crash on iOS devices when attempting to change the default integer value to something else.
edited for more info:
Reproducing the crash conditions method 2:
Aaron,
Which OS platform do you run into this issue? When you say "setting default numerical values using the template editor on a webmap", can you elaborate more details?
-Morgan
Hi Morgan,
Collector for iOS.
I mean by using the webmap -> Edit -> Mange -> templates. So if I add a default numerical value to a integer/double field type and save the template (thereby updating the feature service layer), in the rest URL for the feature service layer it shows that numerical value wrapped in quotes. In Collector for iOS, this causes a crash when adding a new feature.
I added a double field with default value but I still can't reproduce it. Can you share your map/service to a group and invite the account Collector4ArcGIS into it?
Here is part of JSON of feature service
"prototype" : { "attributes" : { "Status" : null, "Note" : null, "TestDouble" : "11.1" } }
Hi Morgan,
After more testing, the problem does not occur with doubles. Only with integers and iOS devices. I have updated the original post with more information and step by step crash reproduction.
Thanks,
Aaron