I'm trying to overwrite a feature layer with a feature class in a local GDB, essentially just trying to script the process that takes two clicks to do within ArcGIS Pro.
I think this is how you construct the overwrite but I can't find how to choose which layer you're overwriting.
variable name that corresponds with feature layer.manager.overwrite('path to local data')
Do I have to search for feature layer first using something like this?
search_result giscontentsearchquery item_type
What's difference between Feature Layer and Feature Layer Collection? Instead of searching can I just identify the feature layer by item id?