I am just wondering if there is a way to preserve global id's when adding features to a feature service using the arcgis api for python?
Both features (one stored in an egdb and the feature service) have a global id field but the global id is different between features after adding them using the edit_features method.
Thanks.
I believe you can use edit_features and set use_global_ids=True to accomplish this. You can read more about this in the REST API doc for the applyEdits endpoint. The layer you are adding features to must advertise supportsApplyEditsWithGlobalIds=True.
Thanks, I'll give this a try.