Hi,
I have a Python toolbox script originally written in Python Version: 2.7.5 and ArcGIS Version: 10.2. The script was not originally written by me. I working on rewriting the script to Python 3.6.6 / ArcGis Pro 2.3.1. Running on Windows 10.
In the script have function that shall clean up an attribute table, by renaming some field names and setting some fields to invisible. The input variables to the function clean_up_table(data,output) is is a shapefile(data) and a layer(output).
According to the documentation, this script should work fine. I have no errors running the scripts. The part that update the fields visibility works, but not updating the new field names.
Someone who have had similar issues and can point me to the right direction?



Torill