Does anyone have an example of what the addField method in the FieldInfo class does? The documentation on it is not particularly helpful. I was wondering if it might be a very efficient method to add a field to a feature layer.
It looks like if enables you to rename the field in the layer or table view only, not the featureclass or table.
http://pro.arcgis.com/en/pro-app/arcpy/classes/fieldinfo.htm
Adds a field info entry
One of the only examples I have found in Esri documentation, see MakeTableView example 2 from Make Table View—Help | ArcGIS Desktop
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.