Make GUID field able for make coded domain and make TableToDomain_management tool able to use GlobalID and OBJECTID for coded_field. If you have a little table with a list of thing and you want to make use a GlobalID or ObjectID for coded value.
Exemple :
>>> arcpy.TableToDomain_management('Prototype.gdb\\Adresse', "GlobalID", "Titulaire", 'Prototype.gdb' ,"_Exemple_GUID", "_EXEMPLE_GUID", "REPLACE")
Runtime error Traceback (most recent call last): File "<string>", line 1, in <module> File "c:\arcgis\desktop10.5\arcpy\arcpy\management.py", line 1815, in TableToDomain raise e ExecuteError: ERROR 000308: Invalid field type
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.