update a map without changing metadata using python

111
0
11-12-2019 11:46 AM
SteveScott
New Contributor III

I am currently updating a feature layer on ArcGIS Online using sharing_draft.publish(overwrite = True). While this updates my map, it overwrites the metadata. How do I update the map and preserve the metadata? Is there a flag to not overwrite metadata? Is there a way to import the old metadata and re-assign it to the new sharing draft and then overwrite the metadata?

0 Kudos
0 Replies