Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm looking for a way to change the source of my layer file using python. Actually I want to do this because I need to re-use a XSL template which is defined under the tap HTML popup of the layer properties dialog. As I can't use the MakeFeatureLayer_management- command to create a layer file that contains the HTML popup information I'm aiming at letting the layer file point to a different data source every time my python code is being executed. I know it is a breeze using arcpy but I'm bound to use the gp-object. This there a workaround anyone knows of?

share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.