I'm migrating from ArcGIS Enterprise to ArcGIS Online and encountering an issue with ObjectID field control during data synchronization.
Problem: When inserting data from an FME workspace into ArcGIS Online feature layer, I cannot control the ObjectID values. The system automatically assigns sequential ObjectID values instead of using my own Identifier values from my source database.
Context:
- Source: Database with specific ID values that need to be preserved
- Target: ArcGIS Online feature layer
- Tool: FME workspace for synchronization
- Previous setup: This worked correctly in ArcGIS Enterprise environment as the DB was directly connected.
- Field type: esriFieldTypeOID
Is it possible to create ArcGIS Online feature layers where ObjectID fields can accept custom values during insert operations? If not, what are the recommended alternatives to maintain the required ID relationship between source data and feature layer records?
What I've tried:
I attempted to modify the layer definition to make the ObjectID field editable:
"fields": [
{
"name": "id",
"type": "esriFieldTypeOID",
"alias": "id",
"editable": true,
...
}
]However, after saving, the editable property automatically reverts to false..
I tried some other stuff, but seems to be the same.