I'm creating a script to which make a blank geodatabase with a required dataset, feature classes, tables, subtypes, relationships.
I've got everything to work expect for the damn GlobalIDs!
I have no idea why it's not working.
#Creates GlobalID's for tables arcpy.AddGlobalIDs_managment("Equipment", "Copper", "WorkOrder")
These are tables that sit directly inside my geodatabase. My workspace is set directly to the geodatabase by the user:
GDBpath = arcpy.GetParameterAsText(0) arcpy.env.workspace = GDBpath
I keep getting this error:
<type 'exceptions.AttributeError'>: 'module' object has no attribute 'AddGlobalIDs_management'
I have no idea what this means or why I'm getting the error.
Can I not add GlobalIDs to tables that only have fields and no records?
Thanks for any help.