AnsweredAssumed Answered

Python ListLayers mxd vs ListFeatureClasses sde and compare

Question asked by MBDriscoll on Apr 17, 2017
Latest reply on Apr 18, 2017 by MBDriscoll

Using python how would I go about listing layers I have in a mxd and seeing which of these features are in or not in certain sde databases?

 

When I use ListLayers in the mxd I get whatever they are named (issue here would be if the name is changed).

When I use the ListFeatureClassess in the sde I get the database.domain.featureclass returned (here I could probably split the string). 

 

I am not sure the best practice to get the common denominator?

 

Is there an easier way of doing this?

Outcomes