[This is preliminary documentation and is subject to change.]

The AttachmentItem type exposes the following members.

Fields

  NameDescription
Public fieldAbsolutePath
This is the path to the file on disk. This is only populated if the StorageType of the attachment is "Linked"
Public fieldAttachmentType
Public fieldDisplayFileName
The name of the file added minus the extension (for display purposes)
Public fieldFileSize
The size of the file to be moved/embedded in bytes. Can be used to warn the user when the attachment is too large.
Public fieldIsIndex
Indicates whether this item is the file/Url that should be shown when the user chooses to launch the Attachment. Therefore only one AttachmentItem per Attachment is ever marked as the index file.
Public fieldModifiedDate
Shows the last time the file was modified. Can be used to optimise fetching of attachments
Public fieldRelativePath
Used when a folder hierachy of files is added to the attachment item. If a collection of attachment items is related you have to reproduce the original folder structure in a temporary download location following file retrieval.

See Also