Using arcpy.mapping, you can add layers for feature classes very easily. With the growing popularity of server and arcgis.com, there is a greater desire for clients to want to add additional information to map templates such as base service and thematic map service data based on one's needs. The arcpy.mapping module should support the creation, editing and adding of map service layers from arcgis.com, ArcGIS Server, and WMS services.
This is an older issue and I'm not seeing any new traffic so I assume that AddDataFromPath addresses the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.