When I receive updated layers from a client, I would like to have automated Python scripts that import these layers and update the existing map features. The issue is that when I do this, the symbology, labeling, and popup definitions are all blown away. I think I could potentially keep a "dummy" layer that defines the symbology and apply the symbology to the real layer after the update, but is there any equivalent for labeling and pop-ups (keeping in mind that I use scale visibilities pretty heavily in labeling)?
Does anyone know of an easy way to do this?
Hi @KyleGruber,
Are you overwriting the feature classes when you receive the updated layers? Instead, you could perform a truncate and an append.
@JakeSkinner
Yes, that is exactly what I was doing. I will give that a shot, thank you very much for the quick response!
The Apply Symbology From Layer tool will transfer symbology, time field, 3D elevation and offset, label class, and HTML pop-up properties from another layer or layer file.