I am attempting to update the field length of specific fields through the supported operation, Update Definition. When I attempt to increase the attribute length, I don't receive any errors. But when I used the REST API to check the Feature Layer's fields, the update is not reflected in the 'fields' section. Why isn't this update persisting?
Workflow:
A note on #3; I tried the setting lastEditDate to 0, and lastEditDate to nothing. Setting lastEditDate to nothing produced the error message "Invalid definition for ''. Invalid JSON primitive: .". Setting lastEditDate to 0 did not produce an error, but the REST endpoint didn't update nonetheless.
I wondered if length was being set to a value that exceeded a limit, so I tried setting length from 60 to 59. Unfortunately the REST endpoint didn't update. I tried refreshing the feature layer, but that didn't work either.
Is there something I haven't accounted for in my workflow?
I'm having the same issue where when setting the lastEditDate to null and updating the field length value through Update Definition, the change seems to submit successfully, but the definition does not actually update to the new field length.