Features disappear after digitized in AGOL/Collector

616
0
09-20-2016 10:34 AM
SolanaFoo4
New Contributor III

I have a hosted feature layer, and was experiencing issues where someone would add a feature in a web browser or in Collector, but it would not save to the feature layer upon ending the edit session.

I discovered with ESRI Tech Support that if you have a definition query on a layer in your mxd used to publish the feature layer, that if the feature is added and its attribute values are not set to match the definition query, AGOL will not let you add the feature.

There were two offered solutions:

  1. In an edit session in ArcMap, open the Create features dialog. Click on the Organize Feature Templates button at the top and then click on the layer with the definition query. In the field required, set a default value so that it satisfies the definition query for this layer. When you create a new feature in this layer, it will use these defaults. Once you publish the feature service, these defaults should be carried over.
  2. You can additionally change this in AGOL, by adding the feature to a Map, starting an Edit session, pressing the Manage button at the bottom of the Add Feature menu, choose the layer from the drop down, go to it's properties, and add a default value here as well.
0 Replies