Select to view content in your preferred language

How do I create a service layer with default values?

12-12-2018 12:01 AM
New Contributor

I have created a feature service layer, but would like to have some fields with default value. I have tried to use the "Update Definition" without success, getting the error "Invalid definition for 'SourceSchemaChangesAllowed'.
Invalid definition for System.Boolean.

I went further and defined some fields using the ArcGIS online, and the fields were assigned default values, however, when I use Geoform to upload some data, those fields do not have a default value as defined.

0 Kudos
2 Replies
Esri Frequent Contributor

Hi Joseph,

You can't updated default values after a field has been created. You can set default values for fields when publishing or when adding new fields to a web map.


Regular Contributor

@KellyGerrow So, if we can't change default values that are set in an ArcGIS Solution and published, there are no options?

0 Kudos