3

I have been given a map document with ~130 feature classes which have been symbolized, etc. In the layer properties, on the General Tab, credits have been written in. When published to ArcGIS Online as a hosted feature service, these credits stream into the display area of the map.

Is there a way to automate the removal of the credits via python?

I thought perhaps arcpy.Describe but there doesn't seem to be a method or property for credits.

layer property credits

1 Answer 1

4

The layer object in arcpy.mapping has a credits property that

Provides the ability to either get or set the layer's credits or copyright information.

Since the credits were set in the project, not the data, you will have to remove them in the project, then re-publish the project to ArcGIS Online.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.