Hello. I am using the FeatureLayerCollection.manager.overwrite() function to overwrite an AGOL hosted feature service with the contents of a csv file. Something like this:
lookup_table = connection_to_agol.content.get(file['agolItemId'])
feature_layer_collection = FeatureLayerCollection.fromitem(lookup_table)
response = feature_layer_collection.manager.overwrite(csv_file)
This is working as expected, but all field aliases and descriptions for the hosted feature service are also overwritten when i overwrite the data. I'd like to not have to re-create that information every time the feature service is updated programmatically. Is there a different approach i can use to overwrite the data from a csv file while preserving the field aliases and descriptions?
thank you