According to https://developers.arcgis.com/rest/services-reference/layer-feature-service-.htm
If the layer objectIdField does not have a length property or the length property is set to 4, the objectIdField is 32-bit. If the objectIdField has a length of 8, the objectIdField is 64-bit.
Testing this with ArcGIS Pro seems to show that it doesn't work though. Can ArcGIS Pro use feature services that have 64 bit ObjectIds?
James, I don't think 64-bit objectIDs are supported in ArcGIS. The question might be best for the Geodatabase space.
What is an ObjectID?—Help | ArcGIS Desktop is ArcMap help but says " ObjectIDs are limited to 32-bit values, which store a maximum value of 2,147,483,647."
In the Pro geodatabase help we also see similar notes
from DBMS data types supported in ArcGIS—Help | ArcGIS Desktop
Thanks Kory. I've run across these various bits in the documentation as well and that's why it confused me as to why the feature service API even has this option. I guess this means that ArcGIS cannot use feature services that use an ObjectId field that has a length other than 4.
I am attempting to expose feature services to ArcGIS from large non-relational databases that need to have an Id space larger than what 32 bit numbers can provide. Do you have any suggestions for how I can get around that limitation?
I just ran across this thread while looking for something else and figured I'd post here for the community - ArcGIS Pro started supporting 64-bit object IDs (and Big Integer data type) in version 3.2. https://pro.arcgis.com/en/pro-app/3.2/get-started/whats-new-in-arcgis-pro.htm#