AnsweredAssumed Answered

How to set Layer alias with Python

Question asked by vholubecarcdata-cz-esridist Employee on Sep 21, 2020
Latest reply on Sep 21, 2020 by vholubecarcdata-cz-esridist

Dear Python

 

is there a way how to via Python set Layer name alias in FGDB? In ArcPy it seems that this is still missing. CIM properties just works on aliases on fields, and I don´t see any way how to change the Alias for the layer name itself.

 

My use case is: I am copying lot of layer from SDE to FGDB via arcpy.CopyFeatures_management(path to origin layer, path to FGDB layer), unfortunately the alias of the of the SDE layer is not copied to FGDB layer (maybe because the FGDB layer has different name than the origin one), and I am unable to reach the alias with python.

 

Thank you,

 

Vladimir

Outcomes