According to the help file, the ALTER FIELD command is available at any license level.
> arcpy.Describe(u"e:/test.gdb/testFC").fields[2].name> u'oldfieldname'> arcpy.AlterField_management(u"e:/test.gdb/testFC", "oldfieldname", "TEXT" ,"newaliasname")> ExecuteError: Failed to execute. Parameters are not valid.> ERROR 000824: The tool is not licensed.According to this page "TEXT" is the format to use for an optional parameter which you wish to omit. But it also fails if I specify a new field name.
This is a brand new, standard, empty featureclass which I just created for the purposes of this test.
أكثر...
ArcGIS for Desktop Basic: Yes
Why am I getting a license error when trying to rename a field alias on a sample file geodatabase featureclass?> arcpy.Describe(u"e:/test.gdb/testFC").fields[2].name> u'oldfieldname'> arcpy.AlterField_management(u"e:/test.gdb/testFC", "oldfieldname", "TEXT" ,"newaliasname")> ExecuteError: Failed to execute. Parameters are not valid.> ERROR 000824: The tool is not licensed.According to this page "TEXT" is the format to use for an optional parameter which you wish to omit. But it also fails if I specify a new field name.
This is a brand new, standard, empty featureclass which I just created for the purposes of this test.
أكثر...