Cancelling and deleting attachments

Complexity: Beginner Data Requirement: ArcGIS Tutorial Data for Desktop

You can cancel added attachment objects of features using the CancelAttachmentEdits method of the AttachmentManager class. To cancel edits for individual attachment objects, use the CancelAttachmentEditsUsingAttachmentIds method.

You can delete single attachment objects from the existing attachments that are associated with a feature. When a deleted attachment is uploaded, it is also deleted from the back-end database.

This topic discusses how to cancel attachment edits and delete attachments.

Cancelling edits to attachments

Deleting attachment information

In the next section, you will delete some attachment objects, so that when they are uploaded, they are removed from the back-end database.

1/7/2015