I have the following code:
When I run it:
conType = arcpy.mapping.ListLayers(imxd, "Construction_pt", df)[0]print conType.dataSourceprints... "Database Connections\Edit - Editor.sde\Edit.SDE.Construction_pt"and rest of program runs correctlyWhen another user runs it:
print conType.dataSourceprints... "\Edit.SDE.Construction_pt"program crashes because cannot find pathMy question is why is it only displaying the full path for me and not other users?
ArcGIS 10,Windows 7
أكثر...
When I run it:
conType = arcpy.mapping.ListLayers(imxd, "Construction_pt", df)[0]print conType.dataSourceprints... "Database Connections\Edit - Editor.sde\Edit.SDE.Construction_pt"and rest of program runs correctlyWhen another user runs it:
print conType.dataSourceprints... "\Edit.SDE.Construction_pt"program crashes because cannot find pathMy question is why is it only displaying the full path for me and not other users?
ArcGIS 10,Windows 7
أكثر...