Remove Orphaned Attachments

188
1
08-11-2021 10:31 AM
Labels (3)
Henry
by
Occasional Contributor II

Hi,

Inquiring whether there is a way to easily check and remove attachments from a geodatabase where there is no longer features for said attachment. I deleted a number of records from a feature layer, however the attachment table still has the original number of attachments.

Is there a way to check and remove attachments from the attachment table that don't have a corresponding feature?

Thanks,

Henry
0 Kudos
1 Reply
DanielCRS
New Contributor II

I think you could Join the feature class to the attachment table with the 'Keep All Target Features' option checked. You could then identify orphans by selecting rows in the attachment table that do not have joined values.

0 Kudos