Select to view content in your preferred language

Modify fields after a hosted feature service is created - Independently select fields as required.

1929
2
06-05-2015 06:46 AM
Status: Open
ErikEngstrom
Frequent Contributor

I know that required fields are set by not allowing null values, but this is not exactly an easy operation to perform after a layer is created. It's often not a best practice to export a feature class' schema, changing the properties, then importing the features into the new schema. It can change ID's and cause unforeseen issues.

My suggestion is to implement a property in ArcGIS Online that allows the administrator to set field requirements in the application independently of the feature classes properties. Helpful for administrators to specify which fields NEED to be collected in the field using ArcGIS Collector, without having to make adjustments to the feature class' properties.

2 Comments
JoshWhite
Great idea, of course if the feature class requires the field than that could be locked as required but most of the time that is not the issue.
DamonEisenach
If you havnt seen this you can change things like these in the Admin of the Rest service.

Updating Hosted Feature Services in ArcGIS Online
https://blogs.esri.com/esri/arcgis/2014/10/19/updating-hosted-feature-services-in-arcgis-online/
Here is a document that shows you How to Update Hosted Feature Service Schemas