Select to view content in your preferred language

arcpy.env.qualifiedFieldNames in model builder ArcGIs Pro

84
1
a week ago
Labels (1)
SanchezNuñez
Occasional Contributor II

Good morning,

Is there a way to initialize this variable in Model Builder ArcGIS Pro?

arcpy.env.qualifiedFieldNames = False

 

We want to get only the fields names after a join, not all the fields prefixed with the Feature Class  or Table .

Thanks

0 Kudos
1 Reply
Luke_Pinner
MVP Regular Contributor

Assuming you are adding a tool that creates a new dataset from the joined layer (e.g. Copy Features) to your model. You can uncheck the "Maintain fully qualified field names" environment setting in the tool element properties - Environment tab after you add it to the model.

Screenshot from 2024-08-08 16-54-53.png

 

0 Kudos