I have several hosted feature services already published to ArcGIS Online. I know I can download them, add a global ID in Arc Map then republish. Is it possible to add a global ID directly to a hosted feature service?
Enabling sync for the hosted feature layer will add a GlobalID field to the hosted feature layer.
Global ID is a database table property and can be enabled in ArcGIS Desktop/ArcGIS Pro (Add Global IDs—Help | ArcGIS Desktop ). Once the fields have been added you need overwrite the hosted service.
I hope this helps!
~Shan
Hi @MJBiazar,
Are you referring to this Sync setting? I'm not seeing GlobalID information in the documentation.https://doc.arcgis.com/en/arcgis-online/manage-data/manage-editing-hfl.htm#:~:text=Enable%20editing%20and%20configure%20the%20types%20of%20edits%20that%20are%20allowed
Hi @Amanda__Huber yes, if your layer is published without global id field, enabling sync in the feature layer settings in ArcGIS Online creates global id field in all layers in your feature layer. You are correct! This is not mentioned on our documentation and I encourage you to submit a documentation feedback for this. Thank you
Great! Thank you, I just submitted after testing.
Best,
Amanda Huber
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.