Our agency has recently changed names.
Does anyone have some sort of automated method to change the Credits in MXDs? I want to change the name in the Credit Field of the MXDs Map Document Properties and also the Credits Field in the Layer Properties for all the Layers in each MXD.
The MXDs I want to change are published as Map Services and this Credit information is carried over to the service.
Hi,
If you haven't solved your problem, you could try python script like this.
import arcpy
mxd = arcpy.mapping.MapDocument("# your mxd file path #")
mxd.credits = "# new mxd document credit #"
for lyr in arcpy.mapping.ListLayers(mxd):
lyr.credits = "# new layer credit #"
mxd.save()