I am facing an issue where my feature service has two user-defined fields that are set to be non-editable, and I want to make them editable.
I have already updated the schema or feature class(DB Subtype group layer) and set those fields as editable in all layers, and saved the changes.
I have deleted and updated the feature layer several times, and republished it, but no matter what I do, those fields are not changing in the feature service.
I have restarted the ArcGIS server many times as well. If anyone has any idea/insights about this issue, it will be a great help.
The field names are greyed out in the field view which implies they're set to read-only at the database level. Try accessing the Fields pane through the feature class in the Catalog instead of the map and see if you can change it there. You might also want to check for calculation attribute rules that disable editing on those fields. If all else fails: back up the data, delete those two fields, add them again, overwrite the service and update the data.
@DavidSolari has called out the most likely scenario. Look at the Design pane for your Attribute Rules and see if there are rules associated with that field that have the "Editable" box unchecked.
I have checked both @DavidSolari and your scenarios, but neither applies to my case. I have two attribute rules on two polygon layers.
The first rule is reading the value from layer A and applying to Layer B, if layer A intersects with layer B on insert, update.
The second rule also do same. Its reads from Layer A and apply to B when there is any update, insert and delete happens.
I though its might potentially create a dead lock situation, but since write operation is happening in one layer that's not the case.
I also deleted the attribute rules but that did not resolve the issue. My main issue since those fields are not editable and Rule two is not working.