Hi,
Am I missing something here is there a property for a feature class that shows if “Attachments” are enabled on that feature?
I have located the following properties but can find anything for attachments
datasetVersioned = arcpy.Describe(fc).isVersioned
inc.wriInfo('{0:<50} Feauture Class/Table - Versioned = {1}'.format(fc, datasetVersioned))
datasetArchived = arcpy.Describe(fc).IsArchived
inc.wriInfo('{0:<50} Feauture Class/Table - Archived = {1}'.format(fc, datasetArchived))
editorTrackingEnabled = arcpy.Describe(fc).editorTrackingEnabled
inc.wriInfo('{0:<50} Feauture Class/Table - Tracking = {1}'.format(fc, editorTrackingEnabled))
I am trying to report multiple Geo database schemas with varying objects in multiple Oracle SDE databases.
Can anyone tell me what is the best way to find out if objects have “Attachments” associated with it using ArcPy?
I could loop through all feature classes and see if there is an Attachment relationship class and an Attachment table but assume that there must be a better way then checking if there are Attachments enabled.
Many thanks for any suggestions
Adrian