Make arcpy.mapping support all properties used by

Idea created by kimpelt on Apr 30, 2013
    • chlang
    • johnmdye
    • kimpelt
    • Jean_Bissonnette
    • eendrulat
    Many data publishers are changing their workflows to support publishing layers to This often requires taking a local dataset (shapefile or geodatabase) and then jumping through a few hoops to publish it as a service.  The arcpy.mapping functionality is great but it doesn't go far enough. In particular, it would be nice to be able to set all the various Map Document Properties and the individual Layer Properties using arcpy.mapping.  As is stands, only about 80% of the properties found under the "General" tabs can be scripted. Some of these properties get transferred to the "Service Editor" window when choosing File > Share As >  Service > Publish a service but some like "Access and Use Constraints" are noticeably missing.  Furthermore please make it possible to use html in the "Description" field for the map document properties similar to how it is allowed in the layer description properties. Lastly, it would be nice to be able to define the layer symbology for simple (Single symbol) features via code similar to what is provided for UniqueValuesSymbology, GraduatedColorsSymbology, and GraduatedSymbolsSymbology.