Add GUID Field for coded Domains

Idea created by Jean_Bissonnette on Oct 25, 2018
    • JPedoia
    • benso01
    • Jean_Bissonnette

    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\", line 1815, in TableToDomain     raise e ExecuteError: ERROR 000308: Invalid field type