This article provides an example of how to remove an attachment from an Item.


Note: There must be a file repository initialized for your SystemWeaver server.


Example

Identify file to remove

IswFileRevisions attachments = item.Files;

Remove reference from item to file

item.RemoveFile(attachment);